diff --git a/google-cloud-bom/pom.xml b/google-cloud-bom/pom.xml
index 9e4fd90c130c..f8c29606e131 100644
--- a/google-cloud-bom/pom.xml
+++ b/google-cloud-bom/pom.xml
@@ -168,7 +168,7 @@
com.google.api
gax-bom
- 1.40.0
+ 1.42.0
pom
import
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypeClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypeClient.java
index 501b6de15ded..58dc4d542ccf 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypeClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AcceleratorTypeClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.AcceleratorTypeStub;
import com.google.cloud.compute.v1.stub.AcceleratorTypeStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -588,7 +589,8 @@ public AggregatedListAcceleratorTypesPagedResponse apply(
AggregatedListAcceleratorTypesPage input) {
return new AggregatedListAcceleratorTypesPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private AggregatedListAcceleratorTypesPagedResponse(AggregatedListAcceleratorTypesPage page) {
@@ -684,7 +686,8 @@ public static ApiFuture createAsync(
public ListAcceleratorTypesPagedResponse apply(ListAcceleratorTypesPage input) {
return new ListAcceleratorTypesPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListAcceleratorTypesPagedResponse(ListAcceleratorTypesPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressClient.java
index 350917331d05..08d31b3cd55b 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AddressClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.AddressStub;
import com.google.cloud.compute.v1.stub.AddressStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -782,7 +783,8 @@ public static ApiFuture createAsync(
public AggregatedListAddressesPagedResponse apply(AggregatedListAddressesPage input) {
return new AggregatedListAddressesPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private AggregatedListAddressesPagedResponse(AggregatedListAddressesPage page) {
@@ -869,7 +871,8 @@ public static ApiFuture createAsync(
public ListAddressesPagedResponse apply(ListAddressesPage input) {
return new ListAddressesPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListAddressesPagedResponse(ListAddressesPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerClient.java
index e1a36fe8bb5e..1118fc2870d6 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/AutoscalerClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.AutoscalerStub;
import com.google.cloud.compute.v1.stub.AutoscalerStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -1096,7 +1097,8 @@ public AggregatedListAutoscalersPagedResponse apply(
AggregatedListAutoscalersPage input) {
return new AggregatedListAutoscalersPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private AggregatedListAutoscalersPagedResponse(AggregatedListAutoscalersPage page) {
@@ -1192,7 +1194,8 @@ public static ApiFuture createAsync(
public ListAutoscalersPagedResponse apply(ListAutoscalersPage input) {
return new ListAutoscalersPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListAutoscalersPagedResponse(ListAutoscalersPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketClient.java
index 108449139b62..6b4bf3afcda0 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendBucketClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.BackendBucketStub;
import com.google.cloud.compute.v1.stub.BackendBucketStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -1157,7 +1158,8 @@ public static ApiFuture createAsync(
public ListBackendBucketsPagedResponse apply(ListBackendBucketsPage input) {
return new ListBackendBucketsPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListBackendBucketsPagedResponse(ListBackendBucketsPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceClient.java
index 04290a2a09cd..0142ca5636a0 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/BackendServiceClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.BackendServiceStub;
import com.google.cloud.compute.v1.stub.BackendServiceStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -1565,7 +1566,8 @@ public AggregatedListBackendServicesPagedResponse apply(
AggregatedListBackendServicesPage input) {
return new AggregatedListBackendServicesPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private AggregatedListBackendServicesPagedResponse(AggregatedListBackendServicesPage page) {
@@ -1661,7 +1663,8 @@ public static ApiFuture createAsync(
public ListBackendServicesPagedResponse apply(ListBackendServicesPage input) {
return new ListBackendServicesPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListBackendServicesPagedResponse(ListBackendServicesPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskClient.java
index acad92e6aea4..ab2fb75dc6fc 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.DiskStub;
import com.google.cloud.compute.v1.stub.DiskStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -1467,7 +1468,8 @@ public static ApiFuture createAsync(
public AggregatedListDisksPagedResponse apply(AggregatedListDisksPage input) {
return new AggregatedListDisksPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private AggregatedListDisksPagedResponse(AggregatedListDisksPage page) {
@@ -1547,7 +1549,8 @@ public static ApiFuture createAsync(
public ListDisksPagedResponse apply(ListDisksPage input) {
return new ListDisksPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListDisksPagedResponse(ListDisksPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypeClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypeClient.java
index 2edf71da0449..18e200e04447 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypeClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/DiskTypeClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.DiskTypeStub;
import com.google.cloud.compute.v1.stub.DiskTypeStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -576,7 +577,8 @@ public static ApiFuture createAsync(
public AggregatedListDiskTypesPagedResponse apply(AggregatedListDiskTypesPage input) {
return new AggregatedListDiskTypesPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private AggregatedListDiskTypesPagedResponse(AggregatedListDiskTypesPage page) {
@@ -663,7 +665,8 @@ public static ApiFuture createAsync(
public ListDiskTypesPagedResponse apply(ListDiskTypesPage input) {
return new ListDiskTypesPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListDiskTypesPagedResponse(ListDiskTypesPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FirewallClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FirewallClient.java
index 6bc1ca517763..c820b36db818 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FirewallClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/FirewallClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.FirewallStub;
import com.google.cloud.compute.v1.stub.FirewallStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -905,7 +906,8 @@ public static ApiFuture createAsync(
public ListFirewallsPagedResponse apply(ListFirewallsPage input) {
return new ListFirewallsPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListFirewallsPagedResponse(ListFirewallsPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRuleClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRuleClient.java
index ba45653bc3ea..05cf9a616d1c 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRuleClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ForwardingRuleClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.ForwardingRuleStub;
import com.google.cloud.compute.v1.stub.ForwardingRuleStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -926,7 +927,8 @@ public AggregatedListForwardingRulesPagedResponse apply(
AggregatedListForwardingRulesPage input) {
return new AggregatedListForwardingRulesPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private AggregatedListForwardingRulesPagedResponse(AggregatedListForwardingRulesPage page) {
@@ -1022,7 +1024,8 @@ public static ApiFuture createAsync(
public ListForwardingRulesPagedResponse apply(ListForwardingRulesPage input) {
return new ListForwardingRulesPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListForwardingRulesPagedResponse(ListForwardingRulesPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalAddressClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalAddressClient.java
index 9aa48d06041f..0716cbdf7ba2 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalAddressClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalAddressClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.GlobalAddressStub;
import com.google.cloud.compute.v1.stub.GlobalAddressStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -653,7 +654,8 @@ public static ApiFuture createAsync(
public ListGlobalAddressesPagedResponse apply(ListGlobalAddressesPage input) {
return new ListGlobalAddressesPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListGlobalAddressesPagedResponse(ListGlobalAddressesPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalForwardingRuleClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalForwardingRuleClient.java
index 64156dde5424..7708ee9c662d 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalForwardingRuleClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalForwardingRuleClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.GlobalForwardingRuleStub;
import com.google.cloud.compute.v1.stub.GlobalForwardingRuleStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -792,7 +793,8 @@ public ListGlobalForwardingRulesPagedResponse apply(
ListGlobalForwardingRulesPage input) {
return new ListGlobalForwardingRulesPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListGlobalForwardingRulesPagedResponse(ListGlobalForwardingRulesPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalOperationClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalOperationClient.java
index cf3ff11bfbfe..59e97d9af274 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalOperationClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/GlobalOperationClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.GlobalOperationStub;
import com.google.cloud.compute.v1.stub.GlobalOperationStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -689,7 +690,8 @@ public AggregatedListGlobalOperationsPagedResponse apply(
AggregatedListGlobalOperationsPage input) {
return new AggregatedListGlobalOperationsPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private AggregatedListGlobalOperationsPagedResponse(AggregatedListGlobalOperationsPage page) {
@@ -785,7 +787,8 @@ public static ApiFuture createAsync(
public ListGlobalOperationsPagedResponse apply(ListGlobalOperationsPage input) {
return new ListGlobalOperationsPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListGlobalOperationsPagedResponse(ListGlobalOperationsPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheckClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheckClient.java
index 0eaa5d6ed784..da6f30e54756 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheckClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HealthCheckClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.HealthCheckStub;
import com.google.cloud.compute.v1.stub.HealthCheckStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -919,7 +920,8 @@ public static ApiFuture createAsync(
public ListHealthChecksPagedResponse apply(ListHealthChecksPage input) {
return new ListHealthChecksPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListHealthChecksPagedResponse(ListHealthChecksPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheckClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheckClient.java
index dd2f1223f2f2..51f30aece082 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheckClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpHealthCheckClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.HttpHealthCheckStub;
import com.google.cloud.compute.v1.stub.HttpHealthCheckStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -936,7 +937,8 @@ public static ApiFuture createAsync(
public ListHttpHealthChecksPagedResponse apply(ListHttpHealthChecksPage input) {
return new ListHttpHealthChecksPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListHttpHealthChecksPagedResponse(ListHttpHealthChecksPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpsHealthCheckClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpsHealthCheckClient.java
index 7fcf330f460b..c286a2d35b35 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpsHealthCheckClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/HttpsHealthCheckClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.HttpsHealthCheckStub;
import com.google.cloud.compute.v1.stub.HttpsHealthCheckStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -940,7 +941,8 @@ public static ApiFuture createAsync(
public ListHttpsHealthChecksPagedResponse apply(ListHttpsHealthChecksPage input) {
return new ListHttpsHealthChecksPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListHttpsHealthChecksPagedResponse(ListHttpsHealthChecksPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ImageClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ImageClient.java
index cdef2a1d21b7..b82b84081162 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ImageClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ImageClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.ImageStub;
import com.google.cloud.compute.v1.stub.ImageStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -1321,7 +1322,8 @@ public static ApiFuture createAsync(
public ListImagesPagedResponse apply(ListImagesPage input) {
return new ListImagesPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListImagesPagedResponse(ListImagesPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceClient.java
index b57f56275808..d96eaccb1843 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.InstanceStub;
import com.google.cloud.compute.v1.stub.InstanceStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -3849,7 +3850,8 @@ public static ApiFuture createAsync(
public AggregatedListInstancesPagedResponse apply(AggregatedListInstancesPage input) {
return new AggregatedListInstancesPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private AggregatedListInstancesPagedResponse(AggregatedListInstancesPage page) {
@@ -3936,7 +3938,8 @@ public static ApiFuture createAsync(
public ListInstancesPagedResponse apply(ListInstancesPage input) {
return new ListInstancesPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListInstancesPagedResponse(ListInstancesPage page) {
@@ -4015,7 +4018,8 @@ public static ApiFuture createAsync(
public ListReferrersInstancesPagedResponse apply(ListReferrersInstancesPage input) {
return new ListReferrersInstancesPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListReferrersInstancesPagedResponse(ListReferrersInstancesPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupClient.java
index 11efff7ab9d4..230022674f3c 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.InstanceGroupStub;
import com.google.cloud.compute.v1.stub.InstanceGroupStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -1350,7 +1351,8 @@ public AggregatedListInstanceGroupsPagedResponse apply(
AggregatedListInstanceGroupsPage input) {
return new AggregatedListInstanceGroupsPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private AggregatedListInstanceGroupsPagedResponse(AggregatedListInstanceGroupsPage page) {
@@ -1446,7 +1448,8 @@ public static ApiFuture createAsync(
public ListInstanceGroupsPagedResponse apply(ListInstanceGroupsPage input) {
return new ListInstanceGroupsPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListInstanceGroupsPagedResponse(ListInstanceGroupsPage page) {
@@ -1534,7 +1537,8 @@ public ListInstancesInstanceGroupsPagedResponse apply(
ListInstancesInstanceGroupsPage input) {
return new ListInstancesInstanceGroupsPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListInstancesInstanceGroupsPagedResponse(ListInstancesInstanceGroupsPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerClient.java
index c6beb0d7ec7d..98daac1376c1 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceGroupManagerClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.InstanceGroupManagerStub;
import com.google.cloud.compute.v1.stub.InstanceGroupManagerStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -2074,7 +2075,8 @@ public AggregatedListInstanceGroupManagersPagedResponse apply(
AggregatedListInstanceGroupManagersPage input) {
return new AggregatedListInstanceGroupManagersPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private AggregatedListInstanceGroupManagersPagedResponse(
@@ -2176,7 +2178,8 @@ public ListInstanceGroupManagersPagedResponse apply(
ListInstanceGroupManagersPage input) {
return new ListInstanceGroupManagersPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListInstanceGroupManagersPagedResponse(ListInstanceGroupManagersPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceTemplateClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceTemplateClient.java
index 9c2db2c3a0ce..d53795c3e251 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceTemplateClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InstanceTemplateClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.InstanceTemplateStub;
import com.google.cloud.compute.v1.stub.InstanceTemplateStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -1012,7 +1013,8 @@ public static ApiFuture createAsync(
public ListInstanceTemplatesPagedResponse apply(ListInstanceTemplatesPage input) {
return new ListInstanceTemplatesPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListInstanceTemplatesPagedResponse(ListInstanceTemplatesPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentClient.java
index d5db6755193c..faeea674b4f0 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectAttachmentClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.InterconnectAttachmentStub;
import com.google.cloud.compute.v1.stub.InterconnectAttachmentStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -965,7 +966,8 @@ public AggregatedListInterconnectAttachmentsPagedResponse apply(
AggregatedListInterconnectAttachmentsPage input) {
return new AggregatedListInterconnectAttachmentsPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private AggregatedListInterconnectAttachmentsPagedResponse(
@@ -1070,7 +1072,8 @@ public ListInterconnectAttachmentsPagedResponse apply(
ListInterconnectAttachmentsPage input) {
return new ListInterconnectAttachmentsPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListInterconnectAttachmentsPagedResponse(ListInterconnectAttachmentsPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectClient.java
index f9063400e48e..3111244a2b9c 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.InterconnectStub;
import com.google.cloud.compute.v1.stub.InterconnectStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -895,7 +896,8 @@ public static ApiFuture createAsync(
public ListInterconnectsPagedResponse apply(ListInterconnectsPage input) {
return new ListInterconnectsPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListInterconnectsPagedResponse(ListInterconnectsPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectLocationClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectLocationClient.java
index 34d614be7b7f..57c6676d86ca 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectLocationClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/InterconnectLocationClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.InterconnectLocationStub;
import com.google.cloud.compute.v1.stub.InterconnectLocationStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -455,7 +456,8 @@ public ListInterconnectLocationsPagedResponse apply(
ListInterconnectLocationsPage input) {
return new ListInterconnectLocationsPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListInterconnectLocationsPagedResponse(ListInterconnectLocationsPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LicenseClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LicenseClient.java
index 9ee3ecb5639e..b909832fb1db 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LicenseClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/LicenseClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.LicenseStub;
import com.google.cloud.compute.v1.stub.LicenseStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -985,7 +986,8 @@ public static ApiFuture createAsync(
public ListLicensesPagedResponse apply(ListLicensesPage input) {
return new ListLicensesPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListLicensesPagedResponse(ListLicensesPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MachineTypeClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MachineTypeClient.java
index 190dfe32c55b..1aab88b7ea75 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MachineTypeClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/MachineTypeClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.MachineTypeStub;
import com.google.cloud.compute.v1.stub.MachineTypeStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -585,7 +586,8 @@ public AggregatedListMachineTypesPagedResponse apply(
AggregatedListMachineTypesPage input) {
return new AggregatedListMachineTypesPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private AggregatedListMachineTypesPagedResponse(AggregatedListMachineTypesPage page) {
@@ -681,7 +683,8 @@ public static ApiFuture createAsync(
public ListMachineTypesPagedResponse apply(ListMachineTypesPage input) {
return new ListMachineTypesPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListMachineTypesPagedResponse(ListMachineTypesPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkClient.java
index ff33058b68e4..b617ce77de46 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NetworkClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.NetworkStub;
import com.google.cloud.compute.v1.stub.NetworkStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -1101,7 +1102,8 @@ public static ApiFuture createAsync(
public ListNetworksPagedResponse apply(ListNetworksPage input) {
return new ListNetworksPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListNetworksPagedResponse(ListNetworksPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupClient.java
index 706aaaebb4ac..209d05f2442b 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeGroupClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.NodeGroupStub;
import com.google.cloud.compute.v1.stub.NodeGroupStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -1613,7 +1614,8 @@ public static ApiFuture createAsync(
public AggregatedListNodeGroupsPagedResponse apply(AggregatedListNodeGroupsPage input) {
return new AggregatedListNodeGroupsPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private AggregatedListNodeGroupsPagedResponse(AggregatedListNodeGroupsPage page) {
@@ -1703,7 +1705,8 @@ public static ApiFuture createAsync(
public ListNodeGroupsPagedResponse apply(ListNodeGroupsPage input) {
return new ListNodeGroupsPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListNodeGroupsPagedResponse(ListNodeGroupsPage page) {
@@ -1783,7 +1786,8 @@ public static ApiFuture createAsync(
public ListNodesNodeGroupsPagedResponse apply(ListNodesNodeGroupsPage input) {
return new ListNodesNodeGroupsPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListNodesNodeGroupsPagedResponse(ListNodesNodeGroupsPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplateClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplateClient.java
index 698632e89990..88a3a7ec20d5 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplateClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTemplateClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.NodeTemplateStub;
import com.google.cloud.compute.v1.stub.NodeTemplateStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -1130,7 +1131,8 @@ public AggregatedListNodeTemplatesPagedResponse apply(
AggregatedListNodeTemplatesPage input) {
return new AggregatedListNodeTemplatesPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private AggregatedListNodeTemplatesPagedResponse(AggregatedListNodeTemplatesPage page) {
@@ -1226,7 +1228,8 @@ public static ApiFuture createAsync(
public ListNodeTemplatesPagedResponse apply(ListNodeTemplatesPage input) {
return new ListNodeTemplatesPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListNodeTemplatesPagedResponse(ListNodeTemplatesPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypeClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypeClient.java
index 3d133f475301..47c0fca39745 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypeClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/NodeTypeClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.NodeTypeStub;
import com.google.cloud.compute.v1.stub.NodeTypeStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -576,7 +577,8 @@ public static ApiFuture createAsync(
public AggregatedListNodeTypesPagedResponse apply(AggregatedListNodeTypesPage input) {
return new AggregatedListNodeTypesPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private AggregatedListNodeTypesPagedResponse(AggregatedListNodeTypesPage page) {
@@ -663,7 +665,8 @@ public static ApiFuture createAsync(
public ListNodeTypesPagedResponse apply(ListNodeTypesPage input) {
return new ListNodeTypesPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListNodeTypesPagedResponse(ListNodeTypesPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectClient.java
index 033c79113007..ca220297e908 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ProjectClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.ProjectStub;
import com.google.cloud.compute.v1.stub.ProjectStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -1692,7 +1693,8 @@ public static ApiFuture createAsync(
public GetXpnResourcesProjectsPagedResponse apply(GetXpnResourcesProjectsPage input) {
return new GetXpnResourcesProjectsPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private GetXpnResourcesProjectsPagedResponse(GetXpnResourcesProjectsPage page) {
@@ -1779,7 +1781,8 @@ public static ApiFuture createAsync(
public ListXpnHostsProjectsPagedResponse apply(ListXpnHostsProjectsPage input) {
return new ListXpnHostsProjectsPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListXpnHostsProjectsPagedResponse(ListXpnHostsProjectsPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionAutoscalerClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionAutoscalerClient.java
index 1e91496bc68a..8d1a1e8437b4 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionAutoscalerClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionAutoscalerClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.RegionAutoscalerStub;
import com.google.cloud.compute.v1.stub.RegionAutoscalerStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -958,7 +959,8 @@ public static ApiFuture createAsync(
public ListRegionAutoscalersPagedResponse apply(ListRegionAutoscalersPage input) {
return new ListRegionAutoscalersPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListRegionAutoscalersPagedResponse(ListRegionAutoscalersPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionBackendServiceClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionBackendServiceClient.java
index fae1e1a33a1c..d793ab2ef4d3 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionBackendServiceClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionBackendServiceClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.RegionBackendServiceStub;
import com.google.cloud.compute.v1.stub.RegionBackendServiceStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -1076,7 +1077,8 @@ public ListRegionBackendServicesPagedResponse apply(
ListRegionBackendServicesPage input) {
return new ListRegionBackendServicesPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListRegionBackendServicesPagedResponse(ListRegionBackendServicesPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionClient.java
index c5ff98425a2f..d46c29730e8c 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.RegionStub;
import com.google.cloud.compute.v1.stub.RegionStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -436,7 +437,8 @@ public static ApiFuture createAsync(
public ListRegionsPagedResponse apply(ListRegionsPage input) {
return new ListRegionsPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListRegionsPagedResponse(ListRegionsPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionCommitmentClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionCommitmentClient.java
index f9f4b82b5493..ccb1e5aca3f7 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionCommitmentClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionCommitmentClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.RegionCommitmentStub;
import com.google.cloud.compute.v1.stub.RegionCommitmentStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -716,7 +717,8 @@ public AggregatedListRegionCommitmentsPagedResponse apply(
AggregatedListRegionCommitmentsPage input) {
return new AggregatedListRegionCommitmentsPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private AggregatedListRegionCommitmentsPagedResponse(AggregatedListRegionCommitmentsPage page) {
@@ -812,7 +814,8 @@ public static ApiFuture createAsync(
public ListRegionCommitmentsPagedResponse apply(ListRegionCommitmentsPage input) {
return new ListRegionCommitmentsPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListRegionCommitmentsPagedResponse(ListRegionCommitmentsPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDiskClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDiskClient.java
index 77c210bf1a6c..25d3d40272ab 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDiskClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDiskClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.RegionDiskStub;
import com.google.cloud.compute.v1.stub.RegionDiskStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -1104,7 +1105,8 @@ public static ApiFuture createAsync(
public ListRegionDisksPagedResponse apply(ListRegionDisksPage input) {
return new ListRegionDisksPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListRegionDisksPagedResponse(ListRegionDisksPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDiskTypeClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDiskTypeClient.java
index 9e417283fc85..360e590621bc 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDiskTypeClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionDiskTypeClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.RegionDiskTypeStub;
import com.google.cloud.compute.v1.stub.RegionDiskTypeStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -441,7 +442,8 @@ public static ApiFuture createAsync(
public ListRegionDiskTypesPagedResponse apply(ListRegionDiskTypesPage input) {
return new ListRegionDiskTypesPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListRegionDiskTypesPagedResponse(ListRegionDiskTypesPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupClient.java
index 5c4e6526a97b..7531f101bd6a 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.RegionInstanceGroupStub;
import com.google.cloud.compute.v1.stub.RegionInstanceGroupStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -732,7 +733,8 @@ public static ApiFuture createAsync(
public ListRegionInstanceGroupsPagedResponse apply(ListRegionInstanceGroupsPage input) {
return new ListRegionInstanceGroupsPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListRegionInstanceGroupsPagedResponse(ListRegionInstanceGroupsPage page) {
@@ -827,7 +829,8 @@ public ListInstancesRegionInstanceGroupsPagedResponse apply(
ListInstancesRegionInstanceGroupsPage input) {
return new ListInstancesRegionInstanceGroupsPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListInstancesRegionInstanceGroupsPagedResponse(
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerClient.java
index 7f328294b74a..2511a1d27b26 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionInstanceGroupManagerClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.RegionInstanceGroupManagerStub;
import com.google.cloud.compute.v1.stub.RegionInstanceGroupManagerStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -1866,7 +1867,8 @@ public ListRegionInstanceGroupManagersPagedResponse apply(
ListRegionInstanceGroupManagersPage input) {
return new ListRegionInstanceGroupManagersPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListRegionInstanceGroupManagersPagedResponse(ListRegionInstanceGroupManagersPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionOperationClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionOperationClient.java
index ae66e41e6c6f..ebfd8f0a24f1 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionOperationClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RegionOperationClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.RegionOperationStub;
import com.google.cloud.compute.v1.stub.RegionOperationStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -537,7 +538,8 @@ public static ApiFuture createAsync(
public ListRegionOperationsPagedResponse apply(ListRegionOperationsPage input) {
return new ListRegionOperationsPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListRegionOperationsPagedResponse(ListRegionOperationsPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouteClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouteClient.java
index 7823767111cf..98a552173875 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouteClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouteClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.RouteStub;
import com.google.cloud.compute.v1.stub.RouteStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -658,7 +659,8 @@ public static ApiFuture createAsync(
public ListRoutesPagedResponse apply(ListRoutesPage input) {
return new ListRoutesPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListRoutesPagedResponse(ListRoutesPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterClient.java
index dadaa6afb804..933d9468b4bb 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/RouterClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.RouterStub;
import com.google.cloud.compute.v1.stub.RouterStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -1395,7 +1396,8 @@ public static ApiFuture createAsync(
public AggregatedListRoutersPagedResponse apply(AggregatedListRoutersPage input) {
return new AggregatedListRoutersPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private AggregatedListRoutersPagedResponse(AggregatedListRoutersPage page) {
@@ -1486,7 +1488,8 @@ public static ApiFuture createAsync(
public GetNatMappingInfoRoutersPagedResponse apply(GetNatMappingInfoRoutersPage input) {
return new GetNatMappingInfoRoutersPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private GetNatMappingInfoRoutersPagedResponse(GetNatMappingInfoRoutersPage page) {
@@ -1582,7 +1585,8 @@ public static ApiFuture createAsync(
public ListRoutersPagedResponse apply(ListRoutersPage input) {
return new ListRoutersPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListRoutersPagedResponse(ListRoutersPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyClient.java
index e1add564f16d..49e2f830fb61 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SecurityPolicyClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.SecurityPolicyStub;
import com.google.cloud.compute.v1.stub.SecurityPolicyStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -1250,7 +1251,8 @@ public static ApiFuture createAsync(
public ListSecurityPoliciesPagedResponse apply(ListSecurityPoliciesPage input) {
return new ListSecurityPoliciesPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListSecurityPoliciesPagedResponse(ListSecurityPoliciesPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SnapshotClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SnapshotClient.java
index 85553b55b7fb..e1bf3225a6b7 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SnapshotClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SnapshotClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.SnapshotStub;
import com.google.cloud.compute.v1.stub.SnapshotStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -999,7 +1000,8 @@ public static ApiFuture createAsync(
public ListSnapshotsPagedResponse apply(ListSnapshotsPage input) {
return new ListSnapshotsPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListSnapshotsPagedResponse(ListSnapshotsPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslCertificateClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslCertificateClient.java
index 8e5ed73bcfe1..6028c1f0d39a 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslCertificateClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslCertificateClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.SslCertificateStub;
import com.google.cloud.compute.v1.stub.SslCertificateStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -660,7 +661,8 @@ public static ApiFuture createAsync(
public ListSslCertificatesPagedResponse apply(ListSslCertificatesPage input) {
return new ListSslCertificatesPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListSslCertificatesPagedResponse(ListSslCertificatesPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPolicyClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPolicyClient.java
index 843b7f63b18b..afc899c8258d 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPolicyClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SslPolicyClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.SslPolicyStub;
import com.google.cloud.compute.v1.stub.SslPolicyStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -895,7 +896,8 @@ public static ApiFuture createAsync(
public ListSslPoliciesPagedResponse apply(ListSslPoliciesPage input) {
return new ListSslPoliciesPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListSslPoliciesPagedResponse(ListSslPoliciesPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkClient.java
index bb80c9d6c130..39429fe085c9 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/SubnetworkClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.SubnetworkStub;
import com.google.cloud.compute.v1.stub.SubnetworkStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -1632,7 +1633,8 @@ public AggregatedListSubnetworksPagedResponse apply(
AggregatedListSubnetworksPage input) {
return new AggregatedListSubnetworksPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private AggregatedListSubnetworksPagedResponse(AggregatedListSubnetworksPage page) {
@@ -1728,7 +1730,8 @@ public static ApiFuture createAsync(
public ListSubnetworksPagedResponse apply(ListSubnetworksPage input) {
return new ListSubnetworksPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListSubnetworksPagedResponse(ListSubnetworksPage page) {
@@ -1811,7 +1814,8 @@ public static ApiFuture createAsync(
public ListUsableSubnetworksPagedResponse apply(ListUsableSubnetworksPage input) {
return new ListUsableSubnetworksPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListUsableSubnetworksPagedResponse(ListUsableSubnetworksPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpProxyClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpProxyClient.java
index 235e0176e5ef..ab07a90e24db 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpProxyClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpProxyClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.TargetHttpProxyStub;
import com.google.cloud.compute.v1.stub.TargetHttpProxyStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -772,7 +773,8 @@ public static ApiFuture createAsync(
public ListTargetHttpProxiesPagedResponse apply(ListTargetHttpProxiesPage input) {
return new ListTargetHttpProxiesPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListTargetHttpProxiesPagedResponse(ListTargetHttpProxiesPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxyClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxyClient.java
index 439a5944f737..3d6901d4a490 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxyClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetHttpsProxyClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.TargetHttpsProxyStub;
import com.google.cloud.compute.v1.stub.TargetHttpsProxyStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -1142,7 +1143,8 @@ public static ApiFuture createAsync(
public ListTargetHttpsProxiesPagedResponse apply(ListTargetHttpsProxiesPage input) {
return new ListTargetHttpsProxiesPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListTargetHttpsProxiesPagedResponse(ListTargetHttpsProxiesPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstanceClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstanceClient.java
index 37644b84a4ba..1eb959e74769 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstanceClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetInstanceClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.TargetInstanceStub;
import com.google.cloud.compute.v1.stub.TargetInstanceStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -807,7 +808,8 @@ public AggregatedListTargetInstancesPagedResponse apply(
AggregatedListTargetInstancesPage input) {
return new AggregatedListTargetInstancesPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private AggregatedListTargetInstancesPagedResponse(AggregatedListTargetInstancesPage page) {
@@ -903,7 +905,8 @@ public static ApiFuture createAsync(
public ListTargetInstancesPagedResponse apply(ListTargetInstancesPage input) {
return new ListTargetInstancesPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListTargetInstancesPagedResponse(ListTargetInstancesPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolClient.java
index 523c6e282375..d1454e0ba3e7 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetPoolClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.TargetPoolStub;
import com.google.cloud.compute.v1.stub.TargetPoolStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -1496,7 +1497,8 @@ public AggregatedListTargetPoolsPagedResponse apply(
AggregatedListTargetPoolsPage input) {
return new AggregatedListTargetPoolsPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private AggregatedListTargetPoolsPagedResponse(AggregatedListTargetPoolsPage page) {
@@ -1592,7 +1594,8 @@ public static ApiFuture createAsync(
public ListTargetPoolsPagedResponse apply(ListTargetPoolsPage input) {
return new ListTargetPoolsPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListTargetPoolsPagedResponse(ListTargetPoolsPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxyClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxyClient.java
index 443a8fb50925..ddda0fcc5d31 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxyClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetSslProxyClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.TargetSslProxyStub;
import com.google.cloud.compute.v1.stub.TargetSslProxyStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -1136,7 +1137,8 @@ public static ApiFuture createAsync(
public ListTargetSslProxiesPagedResponse apply(ListTargetSslProxiesPage input) {
return new ListTargetSslProxiesPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListTargetSslProxiesPagedResponse(ListTargetSslProxiesPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxyClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxyClient.java
index 0fbcd7c51685..d34de3033329 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxyClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetTcpProxyClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.TargetTcpProxyStub;
import com.google.cloud.compute.v1.stub.TargetTcpProxyStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -894,7 +895,8 @@ public static ApiFuture createAsync(
public ListTargetTcpProxiesPagedResponse apply(ListTargetTcpProxiesPage input) {
return new ListTargetTcpProxiesPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListTargetTcpProxiesPagedResponse(ListTargetTcpProxiesPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewayClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewayClient.java
index 745be670bcfd..1d2a4852a2f6 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewayClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/TargetVpnGatewayClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.TargetVpnGatewayStub;
import com.google.cloud.compute.v1.stub.TargetVpnGatewayStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -812,7 +813,8 @@ public AggregatedListTargetVpnGatewaysPagedResponse apply(
AggregatedListTargetVpnGatewaysPage input) {
return new AggregatedListTargetVpnGatewaysPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private AggregatedListTargetVpnGatewaysPagedResponse(AggregatedListTargetVpnGatewaysPage page) {
@@ -909,7 +911,8 @@ public static ApiFuture createAsync(
public ListTargetVpnGatewaysPagedResponse apply(ListTargetVpnGatewaysPage input) {
return new ListTargetVpnGatewaysPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListTargetVpnGatewaysPagedResponse(ListTargetVpnGatewaysPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapClient.java
index 26a3c830ac28..ae06a360973c 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/UrlMapClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.UrlMapStub;
import com.google.cloud.compute.v1.stub.UrlMapStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -1137,7 +1138,8 @@ public static ApiFuture createAsync(
public ListUrlMapsPagedResponse apply(ListUrlMapsPage input) {
return new ListUrlMapsPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListUrlMapsPagedResponse(ListUrlMapsPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelClient.java
index f69be3298ba9..d70c1633ed9b 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/VpnTunnelClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.VpnTunnelStub;
import com.google.cloud.compute.v1.stub.VpnTunnelStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -790,7 +791,8 @@ public static ApiFuture createAsync(
public AggregatedListVpnTunnelsPagedResponse apply(AggregatedListVpnTunnelsPage input) {
return new AggregatedListVpnTunnelsPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private AggregatedListVpnTunnelsPagedResponse(AggregatedListVpnTunnelsPage page) {
@@ -880,7 +882,8 @@ public static ApiFuture createAsync(
public ListVpnTunnelsPagedResponse apply(ListVpnTunnelsPage input) {
return new ListVpnTunnelsPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListVpnTunnelsPagedResponse(ListVpnTunnelsPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneClient.java
index 0599a4740ca7..312bd9bcb0e9 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.ZoneStub;
import com.google.cloud.compute.v1.stub.ZoneStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -425,7 +426,8 @@ public static ApiFuture createAsync(
public ListZonesPagedResponse apply(ListZonesPage input) {
return new ListZonesPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListZonesPagedResponse(ListZonesPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneOperationClient.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneOperationClient.java
index dc0774a7bc4a..0f8e668bb93d 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneOperationClient.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/ZoneOperationClient.java
@@ -27,6 +27,7 @@
import com.google.api.gax.rpc.UnaryCallable;
import com.google.cloud.compute.v1.stub.ZoneOperationStub;
import com.google.cloud.compute.v1.stub.ZoneOperationStubSettings;
+import com.google.common.util.concurrent.MoreExecutors;
import java.io.IOException;
import java.util.List;
import java.util.concurrent.TimeUnit;
@@ -534,7 +535,8 @@ public static ApiFuture createAsync(
public ListZoneOperationsPagedResponse apply(ListZoneOperationsPage input) {
return new ListZoneOperationsPagedResponse(input);
}
- });
+ },
+ MoreExecutors.directExecutor());
}
private ListZoneOperationsPagedResponse(ListZoneOperationsPage page) {
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonAcceleratorTypeCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonAcceleratorTypeCallableFactory.java
index 4cfae18316bd..f98b842de2f3 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonAcceleratorTypeCallableFactory.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonAcceleratorTypeCallableFactory.java
@@ -16,15 +16,20 @@
package com.google.cloud.compute.v1.stub;
import com.google.api.core.BetaApi;
+import com.google.api.gax.core.BackgroundResource;
+import com.google.api.gax.httpjson.ApiMessage;
import com.google.api.gax.httpjson.HttpJsonCallSettings;
import com.google.api.gax.httpjson.HttpJsonCallableFactory;
import com.google.api.gax.httpjson.HttpJsonStubCallableFactory;
import com.google.api.gax.rpc.BatchingCallSettings;
import com.google.api.gax.rpc.ClientContext;
+import com.google.api.gax.rpc.OperationCallSettings;
+import com.google.api.gax.rpc.OperationCallable;
import com.google.api.gax.rpc.PagedCallSettings;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.api.gax.rpc.UnaryCallable;
import javax.annotation.Generated;
+import javax.annotation.Nullable;
// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
@@ -34,7 +39,8 @@
*/
@Generated("by gapic-generator")
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
-public class HttpJsonAcceleratorTypeCallableFactory implements HttpJsonStubCallableFactory {
+public class HttpJsonAcceleratorTypeCallableFactory
+ implements HttpJsonStubCallableFactory {
@Override
public UnaryCallable createUnaryCallable(
HttpJsonCallSettings httpJsonCallSettings,
@@ -44,6 +50,19 @@ public UnaryCallable createUnaryCalla
httpJsonCallSettings, callSettings, clientContext);
}
+ @BetaApi(
+ "The surface for long-running operations is not stable yet and may change in the future.")
+ @Override
+ @Nullable
+ public
+ OperationCallable createOperationCallable(
+ HttpJsonCallSettings httpJsonCallSettings,
+ OperationCallSettings operationCallSettings,
+ ClientContext clientContext,
+ BackgroundResource operationsStub) {
+ return null;
+ }
+
@Override
public
UnaryCallable createPagedCallable(
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonAddressCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonAddressCallableFactory.java
index 69365a14f053..54570ef9bee7 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonAddressCallableFactory.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonAddressCallableFactory.java
@@ -16,15 +16,20 @@
package com.google.cloud.compute.v1.stub;
import com.google.api.core.BetaApi;
+import com.google.api.gax.core.BackgroundResource;
+import com.google.api.gax.httpjson.ApiMessage;
import com.google.api.gax.httpjson.HttpJsonCallSettings;
import com.google.api.gax.httpjson.HttpJsonCallableFactory;
import com.google.api.gax.httpjson.HttpJsonStubCallableFactory;
import com.google.api.gax.rpc.BatchingCallSettings;
import com.google.api.gax.rpc.ClientContext;
+import com.google.api.gax.rpc.OperationCallSettings;
+import com.google.api.gax.rpc.OperationCallable;
import com.google.api.gax.rpc.PagedCallSettings;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.api.gax.rpc.UnaryCallable;
import javax.annotation.Generated;
+import javax.annotation.Nullable;
// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
@@ -34,7 +39,8 @@
*/
@Generated("by gapic-generator")
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
-public class HttpJsonAddressCallableFactory implements HttpJsonStubCallableFactory {
+public class HttpJsonAddressCallableFactory
+ implements HttpJsonStubCallableFactory {
@Override
public UnaryCallable createUnaryCallable(
HttpJsonCallSettings httpJsonCallSettings,
@@ -44,6 +50,19 @@ public UnaryCallable createUnaryCalla
httpJsonCallSettings, callSettings, clientContext);
}
+ @BetaApi(
+ "The surface for long-running operations is not stable yet and may change in the future.")
+ @Override
+ @Nullable
+ public
+ OperationCallable createOperationCallable(
+ HttpJsonCallSettings httpJsonCallSettings,
+ OperationCallSettings operationCallSettings,
+ ClientContext clientContext,
+ BackgroundResource operationsStub) {
+ return null;
+ }
+
@Override
public
UnaryCallable createPagedCallable(
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonAutoscalerCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonAutoscalerCallableFactory.java
index c809bd99b192..bf2a6bb5ed37 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonAutoscalerCallableFactory.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonAutoscalerCallableFactory.java
@@ -16,15 +16,20 @@
package com.google.cloud.compute.v1.stub;
import com.google.api.core.BetaApi;
+import com.google.api.gax.core.BackgroundResource;
+import com.google.api.gax.httpjson.ApiMessage;
import com.google.api.gax.httpjson.HttpJsonCallSettings;
import com.google.api.gax.httpjson.HttpJsonCallableFactory;
import com.google.api.gax.httpjson.HttpJsonStubCallableFactory;
import com.google.api.gax.rpc.BatchingCallSettings;
import com.google.api.gax.rpc.ClientContext;
+import com.google.api.gax.rpc.OperationCallSettings;
+import com.google.api.gax.rpc.OperationCallable;
import com.google.api.gax.rpc.PagedCallSettings;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.api.gax.rpc.UnaryCallable;
import javax.annotation.Generated;
+import javax.annotation.Nullable;
// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
@@ -34,7 +39,8 @@
*/
@Generated("by gapic-generator")
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
-public class HttpJsonAutoscalerCallableFactory implements HttpJsonStubCallableFactory {
+public class HttpJsonAutoscalerCallableFactory
+ implements HttpJsonStubCallableFactory {
@Override
public UnaryCallable createUnaryCallable(
HttpJsonCallSettings httpJsonCallSettings,
@@ -44,6 +50,19 @@ public UnaryCallable createUnaryCalla
httpJsonCallSettings, callSettings, clientContext);
}
+ @BetaApi(
+ "The surface for long-running operations is not stable yet and may change in the future.")
+ @Override
+ @Nullable
+ public
+ OperationCallable createOperationCallable(
+ HttpJsonCallSettings httpJsonCallSettings,
+ OperationCallSettings operationCallSettings,
+ ClientContext clientContext,
+ BackgroundResource operationsStub) {
+ return null;
+ }
+
@Override
public
UnaryCallable createPagedCallable(
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonBackendBucketCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonBackendBucketCallableFactory.java
index 25f2a59c0cff..710c72d7bc5c 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonBackendBucketCallableFactory.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonBackendBucketCallableFactory.java
@@ -16,15 +16,20 @@
package com.google.cloud.compute.v1.stub;
import com.google.api.core.BetaApi;
+import com.google.api.gax.core.BackgroundResource;
+import com.google.api.gax.httpjson.ApiMessage;
import com.google.api.gax.httpjson.HttpJsonCallSettings;
import com.google.api.gax.httpjson.HttpJsonCallableFactory;
import com.google.api.gax.httpjson.HttpJsonStubCallableFactory;
import com.google.api.gax.rpc.BatchingCallSettings;
import com.google.api.gax.rpc.ClientContext;
+import com.google.api.gax.rpc.OperationCallSettings;
+import com.google.api.gax.rpc.OperationCallable;
import com.google.api.gax.rpc.PagedCallSettings;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.api.gax.rpc.UnaryCallable;
import javax.annotation.Generated;
+import javax.annotation.Nullable;
// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
@@ -34,7 +39,8 @@
*/
@Generated("by gapic-generator")
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
-public class HttpJsonBackendBucketCallableFactory implements HttpJsonStubCallableFactory {
+public class HttpJsonBackendBucketCallableFactory
+ implements HttpJsonStubCallableFactory {
@Override
public UnaryCallable createUnaryCallable(
HttpJsonCallSettings httpJsonCallSettings,
@@ -44,6 +50,19 @@ public UnaryCallable createUnaryCalla
httpJsonCallSettings, callSettings, clientContext);
}
+ @BetaApi(
+ "The surface for long-running operations is not stable yet and may change in the future.")
+ @Override
+ @Nullable
+ public
+ OperationCallable createOperationCallable(
+ HttpJsonCallSettings httpJsonCallSettings,
+ OperationCallSettings operationCallSettings,
+ ClientContext clientContext,
+ BackgroundResource operationsStub) {
+ return null;
+ }
+
@Override
public
UnaryCallable createPagedCallable(
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonBackendServiceCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonBackendServiceCallableFactory.java
index d8c3a181ec7c..8c4b12c8b3d1 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonBackendServiceCallableFactory.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonBackendServiceCallableFactory.java
@@ -16,15 +16,20 @@
package com.google.cloud.compute.v1.stub;
import com.google.api.core.BetaApi;
+import com.google.api.gax.core.BackgroundResource;
+import com.google.api.gax.httpjson.ApiMessage;
import com.google.api.gax.httpjson.HttpJsonCallSettings;
import com.google.api.gax.httpjson.HttpJsonCallableFactory;
import com.google.api.gax.httpjson.HttpJsonStubCallableFactory;
import com.google.api.gax.rpc.BatchingCallSettings;
import com.google.api.gax.rpc.ClientContext;
+import com.google.api.gax.rpc.OperationCallSettings;
+import com.google.api.gax.rpc.OperationCallable;
import com.google.api.gax.rpc.PagedCallSettings;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.api.gax.rpc.UnaryCallable;
import javax.annotation.Generated;
+import javax.annotation.Nullable;
// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
@@ -34,7 +39,8 @@
*/
@Generated("by gapic-generator")
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
-public class HttpJsonBackendServiceCallableFactory implements HttpJsonStubCallableFactory {
+public class HttpJsonBackendServiceCallableFactory
+ implements HttpJsonStubCallableFactory {
@Override
public UnaryCallable createUnaryCallable(
HttpJsonCallSettings httpJsonCallSettings,
@@ -44,6 +50,19 @@ public UnaryCallable createUnaryCalla
httpJsonCallSettings, callSettings, clientContext);
}
+ @BetaApi(
+ "The surface for long-running operations is not stable yet and may change in the future.")
+ @Override
+ @Nullable
+ public
+ OperationCallable createOperationCallable(
+ HttpJsonCallSettings httpJsonCallSettings,
+ OperationCallSettings operationCallSettings,
+ ClientContext clientContext,
+ BackgroundResource operationsStub) {
+ return null;
+ }
+
@Override
public
UnaryCallable createPagedCallable(
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonDiskCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonDiskCallableFactory.java
index 26772348f613..485cea4ab245 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonDiskCallableFactory.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonDiskCallableFactory.java
@@ -16,15 +16,20 @@
package com.google.cloud.compute.v1.stub;
import com.google.api.core.BetaApi;
+import com.google.api.gax.core.BackgroundResource;
+import com.google.api.gax.httpjson.ApiMessage;
import com.google.api.gax.httpjson.HttpJsonCallSettings;
import com.google.api.gax.httpjson.HttpJsonCallableFactory;
import com.google.api.gax.httpjson.HttpJsonStubCallableFactory;
import com.google.api.gax.rpc.BatchingCallSettings;
import com.google.api.gax.rpc.ClientContext;
+import com.google.api.gax.rpc.OperationCallSettings;
+import com.google.api.gax.rpc.OperationCallable;
import com.google.api.gax.rpc.PagedCallSettings;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.api.gax.rpc.UnaryCallable;
import javax.annotation.Generated;
+import javax.annotation.Nullable;
// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
@@ -34,7 +39,8 @@
*/
@Generated("by gapic-generator")
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
-public class HttpJsonDiskCallableFactory implements HttpJsonStubCallableFactory {
+public class HttpJsonDiskCallableFactory
+ implements HttpJsonStubCallableFactory {
@Override
public UnaryCallable createUnaryCallable(
HttpJsonCallSettings httpJsonCallSettings,
@@ -44,6 +50,19 @@ public UnaryCallable createUnaryCalla
httpJsonCallSettings, callSettings, clientContext);
}
+ @BetaApi(
+ "The surface for long-running operations is not stable yet and may change in the future.")
+ @Override
+ @Nullable
+ public
+ OperationCallable createOperationCallable(
+ HttpJsonCallSettings httpJsonCallSettings,
+ OperationCallSettings operationCallSettings,
+ ClientContext clientContext,
+ BackgroundResource operationsStub) {
+ return null;
+ }
+
@Override
public
UnaryCallable createPagedCallable(
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonDiskTypeCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonDiskTypeCallableFactory.java
index 928e628b530a..3d72e9bdf1a0 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonDiskTypeCallableFactory.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonDiskTypeCallableFactory.java
@@ -16,15 +16,20 @@
package com.google.cloud.compute.v1.stub;
import com.google.api.core.BetaApi;
+import com.google.api.gax.core.BackgroundResource;
+import com.google.api.gax.httpjson.ApiMessage;
import com.google.api.gax.httpjson.HttpJsonCallSettings;
import com.google.api.gax.httpjson.HttpJsonCallableFactory;
import com.google.api.gax.httpjson.HttpJsonStubCallableFactory;
import com.google.api.gax.rpc.BatchingCallSettings;
import com.google.api.gax.rpc.ClientContext;
+import com.google.api.gax.rpc.OperationCallSettings;
+import com.google.api.gax.rpc.OperationCallable;
import com.google.api.gax.rpc.PagedCallSettings;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.api.gax.rpc.UnaryCallable;
import javax.annotation.Generated;
+import javax.annotation.Nullable;
// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
@@ -34,7 +39,8 @@
*/
@Generated("by gapic-generator")
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
-public class HttpJsonDiskTypeCallableFactory implements HttpJsonStubCallableFactory {
+public class HttpJsonDiskTypeCallableFactory
+ implements HttpJsonStubCallableFactory {
@Override
public UnaryCallable createUnaryCallable(
HttpJsonCallSettings httpJsonCallSettings,
@@ -44,6 +50,19 @@ public UnaryCallable createUnaryCalla
httpJsonCallSettings, callSettings, clientContext);
}
+ @BetaApi(
+ "The surface for long-running operations is not stable yet and may change in the future.")
+ @Override
+ @Nullable
+ public
+ OperationCallable createOperationCallable(
+ HttpJsonCallSettings httpJsonCallSettings,
+ OperationCallSettings operationCallSettings,
+ ClientContext clientContext,
+ BackgroundResource operationsStub) {
+ return null;
+ }
+
@Override
public
UnaryCallable createPagedCallable(
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonFirewallCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonFirewallCallableFactory.java
index 16199de782e1..bc1b29e02730 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonFirewallCallableFactory.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonFirewallCallableFactory.java
@@ -16,15 +16,20 @@
package com.google.cloud.compute.v1.stub;
import com.google.api.core.BetaApi;
+import com.google.api.gax.core.BackgroundResource;
+import com.google.api.gax.httpjson.ApiMessage;
import com.google.api.gax.httpjson.HttpJsonCallSettings;
import com.google.api.gax.httpjson.HttpJsonCallableFactory;
import com.google.api.gax.httpjson.HttpJsonStubCallableFactory;
import com.google.api.gax.rpc.BatchingCallSettings;
import com.google.api.gax.rpc.ClientContext;
+import com.google.api.gax.rpc.OperationCallSettings;
+import com.google.api.gax.rpc.OperationCallable;
import com.google.api.gax.rpc.PagedCallSettings;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.api.gax.rpc.UnaryCallable;
import javax.annotation.Generated;
+import javax.annotation.Nullable;
// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
@@ -34,7 +39,8 @@
*/
@Generated("by gapic-generator")
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
-public class HttpJsonFirewallCallableFactory implements HttpJsonStubCallableFactory {
+public class HttpJsonFirewallCallableFactory
+ implements HttpJsonStubCallableFactory {
@Override
public UnaryCallable createUnaryCallable(
HttpJsonCallSettings httpJsonCallSettings,
@@ -44,6 +50,19 @@ public UnaryCallable createUnaryCalla
httpJsonCallSettings, callSettings, clientContext);
}
+ @BetaApi(
+ "The surface for long-running operations is not stable yet and may change in the future.")
+ @Override
+ @Nullable
+ public
+ OperationCallable createOperationCallable(
+ HttpJsonCallSettings httpJsonCallSettings,
+ OperationCallSettings operationCallSettings,
+ ClientContext clientContext,
+ BackgroundResource operationsStub) {
+ return null;
+ }
+
@Override
public
UnaryCallable createPagedCallable(
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonForwardingRuleCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonForwardingRuleCallableFactory.java
index 3a4bf5f6e844..212ea0f764cd 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonForwardingRuleCallableFactory.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonForwardingRuleCallableFactory.java
@@ -16,15 +16,20 @@
package com.google.cloud.compute.v1.stub;
import com.google.api.core.BetaApi;
+import com.google.api.gax.core.BackgroundResource;
+import com.google.api.gax.httpjson.ApiMessage;
import com.google.api.gax.httpjson.HttpJsonCallSettings;
import com.google.api.gax.httpjson.HttpJsonCallableFactory;
import com.google.api.gax.httpjson.HttpJsonStubCallableFactory;
import com.google.api.gax.rpc.BatchingCallSettings;
import com.google.api.gax.rpc.ClientContext;
+import com.google.api.gax.rpc.OperationCallSettings;
+import com.google.api.gax.rpc.OperationCallable;
import com.google.api.gax.rpc.PagedCallSettings;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.api.gax.rpc.UnaryCallable;
import javax.annotation.Generated;
+import javax.annotation.Nullable;
// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
@@ -34,7 +39,8 @@
*/
@Generated("by gapic-generator")
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
-public class HttpJsonForwardingRuleCallableFactory implements HttpJsonStubCallableFactory {
+public class HttpJsonForwardingRuleCallableFactory
+ implements HttpJsonStubCallableFactory {
@Override
public UnaryCallable createUnaryCallable(
HttpJsonCallSettings httpJsonCallSettings,
@@ -44,6 +50,19 @@ public UnaryCallable createUnaryCalla
httpJsonCallSettings, callSettings, clientContext);
}
+ @BetaApi(
+ "The surface for long-running operations is not stable yet and may change in the future.")
+ @Override
+ @Nullable
+ public
+ OperationCallable createOperationCallable(
+ HttpJsonCallSettings httpJsonCallSettings,
+ OperationCallSettings operationCallSettings,
+ ClientContext clientContext,
+ BackgroundResource operationsStub) {
+ return null;
+ }
+
@Override
public
UnaryCallable createPagedCallable(
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonGlobalAddressCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonGlobalAddressCallableFactory.java
index 62da914a4012..be77e16cfd1c 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonGlobalAddressCallableFactory.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonGlobalAddressCallableFactory.java
@@ -16,15 +16,20 @@
package com.google.cloud.compute.v1.stub;
import com.google.api.core.BetaApi;
+import com.google.api.gax.core.BackgroundResource;
+import com.google.api.gax.httpjson.ApiMessage;
import com.google.api.gax.httpjson.HttpJsonCallSettings;
import com.google.api.gax.httpjson.HttpJsonCallableFactory;
import com.google.api.gax.httpjson.HttpJsonStubCallableFactory;
import com.google.api.gax.rpc.BatchingCallSettings;
import com.google.api.gax.rpc.ClientContext;
+import com.google.api.gax.rpc.OperationCallSettings;
+import com.google.api.gax.rpc.OperationCallable;
import com.google.api.gax.rpc.PagedCallSettings;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.api.gax.rpc.UnaryCallable;
import javax.annotation.Generated;
+import javax.annotation.Nullable;
// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
@@ -34,7 +39,8 @@
*/
@Generated("by gapic-generator")
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
-public class HttpJsonGlobalAddressCallableFactory implements HttpJsonStubCallableFactory {
+public class HttpJsonGlobalAddressCallableFactory
+ implements HttpJsonStubCallableFactory {
@Override
public UnaryCallable createUnaryCallable(
HttpJsonCallSettings httpJsonCallSettings,
@@ -44,6 +50,19 @@ public UnaryCallable createUnaryCalla
httpJsonCallSettings, callSettings, clientContext);
}
+ @BetaApi(
+ "The surface for long-running operations is not stable yet and may change in the future.")
+ @Override
+ @Nullable
+ public
+ OperationCallable createOperationCallable(
+ HttpJsonCallSettings httpJsonCallSettings,
+ OperationCallSettings operationCallSettings,
+ ClientContext clientContext,
+ BackgroundResource operationsStub) {
+ return null;
+ }
+
@Override
public
UnaryCallable createPagedCallable(
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonGlobalForwardingRuleCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonGlobalForwardingRuleCallableFactory.java
index 584a93b0104b..80e662310fac 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonGlobalForwardingRuleCallableFactory.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonGlobalForwardingRuleCallableFactory.java
@@ -16,15 +16,20 @@
package com.google.cloud.compute.v1.stub;
import com.google.api.core.BetaApi;
+import com.google.api.gax.core.BackgroundResource;
+import com.google.api.gax.httpjson.ApiMessage;
import com.google.api.gax.httpjson.HttpJsonCallSettings;
import com.google.api.gax.httpjson.HttpJsonCallableFactory;
import com.google.api.gax.httpjson.HttpJsonStubCallableFactory;
import com.google.api.gax.rpc.BatchingCallSettings;
import com.google.api.gax.rpc.ClientContext;
+import com.google.api.gax.rpc.OperationCallSettings;
+import com.google.api.gax.rpc.OperationCallable;
import com.google.api.gax.rpc.PagedCallSettings;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.api.gax.rpc.UnaryCallable;
import javax.annotation.Generated;
+import javax.annotation.Nullable;
// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
@@ -34,7 +39,8 @@
*/
@Generated("by gapic-generator")
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
-public class HttpJsonGlobalForwardingRuleCallableFactory implements HttpJsonStubCallableFactory {
+public class HttpJsonGlobalForwardingRuleCallableFactory
+ implements HttpJsonStubCallableFactory {
@Override
public UnaryCallable createUnaryCallable(
HttpJsonCallSettings httpJsonCallSettings,
@@ -44,6 +50,19 @@ public UnaryCallable createUnaryCalla
httpJsonCallSettings, callSettings, clientContext);
}
+ @BetaApi(
+ "The surface for long-running operations is not stable yet and may change in the future.")
+ @Override
+ @Nullable
+ public
+ OperationCallable createOperationCallable(
+ HttpJsonCallSettings httpJsonCallSettings,
+ OperationCallSettings operationCallSettings,
+ ClientContext clientContext,
+ BackgroundResource operationsStub) {
+ return null;
+ }
+
@Override
public
UnaryCallable createPagedCallable(
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonGlobalOperationCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonGlobalOperationCallableFactory.java
index b23bc230a52f..5abc79e0b133 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonGlobalOperationCallableFactory.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonGlobalOperationCallableFactory.java
@@ -16,15 +16,20 @@
package com.google.cloud.compute.v1.stub;
import com.google.api.core.BetaApi;
+import com.google.api.gax.core.BackgroundResource;
+import com.google.api.gax.httpjson.ApiMessage;
import com.google.api.gax.httpjson.HttpJsonCallSettings;
import com.google.api.gax.httpjson.HttpJsonCallableFactory;
import com.google.api.gax.httpjson.HttpJsonStubCallableFactory;
import com.google.api.gax.rpc.BatchingCallSettings;
import com.google.api.gax.rpc.ClientContext;
+import com.google.api.gax.rpc.OperationCallSettings;
+import com.google.api.gax.rpc.OperationCallable;
import com.google.api.gax.rpc.PagedCallSettings;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.api.gax.rpc.UnaryCallable;
import javax.annotation.Generated;
+import javax.annotation.Nullable;
// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
@@ -34,7 +39,8 @@
*/
@Generated("by gapic-generator")
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
-public class HttpJsonGlobalOperationCallableFactory implements HttpJsonStubCallableFactory {
+public class HttpJsonGlobalOperationCallableFactory
+ implements HttpJsonStubCallableFactory {
@Override
public UnaryCallable createUnaryCallable(
HttpJsonCallSettings httpJsonCallSettings,
@@ -44,6 +50,19 @@ public UnaryCallable createUnaryCalla
httpJsonCallSettings, callSettings, clientContext);
}
+ @BetaApi(
+ "The surface for long-running operations is not stable yet and may change in the future.")
+ @Override
+ @Nullable
+ public
+ OperationCallable createOperationCallable(
+ HttpJsonCallSettings httpJsonCallSettings,
+ OperationCallSettings operationCallSettings,
+ ClientContext clientContext,
+ BackgroundResource operationsStub) {
+ return null;
+ }
+
@Override
public
UnaryCallable createPagedCallable(
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonHealthCheckCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonHealthCheckCallableFactory.java
index 6eef2549ec3a..da3cfd8ee6bf 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonHealthCheckCallableFactory.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonHealthCheckCallableFactory.java
@@ -16,15 +16,20 @@
package com.google.cloud.compute.v1.stub;
import com.google.api.core.BetaApi;
+import com.google.api.gax.core.BackgroundResource;
+import com.google.api.gax.httpjson.ApiMessage;
import com.google.api.gax.httpjson.HttpJsonCallSettings;
import com.google.api.gax.httpjson.HttpJsonCallableFactory;
import com.google.api.gax.httpjson.HttpJsonStubCallableFactory;
import com.google.api.gax.rpc.BatchingCallSettings;
import com.google.api.gax.rpc.ClientContext;
+import com.google.api.gax.rpc.OperationCallSettings;
+import com.google.api.gax.rpc.OperationCallable;
import com.google.api.gax.rpc.PagedCallSettings;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.api.gax.rpc.UnaryCallable;
import javax.annotation.Generated;
+import javax.annotation.Nullable;
// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
@@ -34,7 +39,8 @@
*/
@Generated("by gapic-generator")
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
-public class HttpJsonHealthCheckCallableFactory implements HttpJsonStubCallableFactory {
+public class HttpJsonHealthCheckCallableFactory
+ implements HttpJsonStubCallableFactory {
@Override
public UnaryCallable createUnaryCallable(
HttpJsonCallSettings httpJsonCallSettings,
@@ -44,6 +50,19 @@ public UnaryCallable createUnaryCalla
httpJsonCallSettings, callSettings, clientContext);
}
+ @BetaApi(
+ "The surface for long-running operations is not stable yet and may change in the future.")
+ @Override
+ @Nullable
+ public
+ OperationCallable createOperationCallable(
+ HttpJsonCallSettings httpJsonCallSettings,
+ OperationCallSettings operationCallSettings,
+ ClientContext clientContext,
+ BackgroundResource operationsStub) {
+ return null;
+ }
+
@Override
public
UnaryCallable createPagedCallable(
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonHttpHealthCheckCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonHttpHealthCheckCallableFactory.java
index 56a61bba2c97..a8fbad00ce99 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonHttpHealthCheckCallableFactory.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonHttpHealthCheckCallableFactory.java
@@ -16,15 +16,20 @@
package com.google.cloud.compute.v1.stub;
import com.google.api.core.BetaApi;
+import com.google.api.gax.core.BackgroundResource;
+import com.google.api.gax.httpjson.ApiMessage;
import com.google.api.gax.httpjson.HttpJsonCallSettings;
import com.google.api.gax.httpjson.HttpJsonCallableFactory;
import com.google.api.gax.httpjson.HttpJsonStubCallableFactory;
import com.google.api.gax.rpc.BatchingCallSettings;
import com.google.api.gax.rpc.ClientContext;
+import com.google.api.gax.rpc.OperationCallSettings;
+import com.google.api.gax.rpc.OperationCallable;
import com.google.api.gax.rpc.PagedCallSettings;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.api.gax.rpc.UnaryCallable;
import javax.annotation.Generated;
+import javax.annotation.Nullable;
// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
@@ -34,7 +39,8 @@
*/
@Generated("by gapic-generator")
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
-public class HttpJsonHttpHealthCheckCallableFactory implements HttpJsonStubCallableFactory {
+public class HttpJsonHttpHealthCheckCallableFactory
+ implements HttpJsonStubCallableFactory {
@Override
public UnaryCallable createUnaryCallable(
HttpJsonCallSettings httpJsonCallSettings,
@@ -44,6 +50,19 @@ public UnaryCallable createUnaryCalla
httpJsonCallSettings, callSettings, clientContext);
}
+ @BetaApi(
+ "The surface for long-running operations is not stable yet and may change in the future.")
+ @Override
+ @Nullable
+ public
+ OperationCallable createOperationCallable(
+ HttpJsonCallSettings httpJsonCallSettings,
+ OperationCallSettings operationCallSettings,
+ ClientContext clientContext,
+ BackgroundResource operationsStub) {
+ return null;
+ }
+
@Override
public
UnaryCallable createPagedCallable(
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonHttpsHealthCheckCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonHttpsHealthCheckCallableFactory.java
index a34e901537d3..e4a15ae1ae96 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonHttpsHealthCheckCallableFactory.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonHttpsHealthCheckCallableFactory.java
@@ -16,15 +16,20 @@
package com.google.cloud.compute.v1.stub;
import com.google.api.core.BetaApi;
+import com.google.api.gax.core.BackgroundResource;
+import com.google.api.gax.httpjson.ApiMessage;
import com.google.api.gax.httpjson.HttpJsonCallSettings;
import com.google.api.gax.httpjson.HttpJsonCallableFactory;
import com.google.api.gax.httpjson.HttpJsonStubCallableFactory;
import com.google.api.gax.rpc.BatchingCallSettings;
import com.google.api.gax.rpc.ClientContext;
+import com.google.api.gax.rpc.OperationCallSettings;
+import com.google.api.gax.rpc.OperationCallable;
import com.google.api.gax.rpc.PagedCallSettings;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.api.gax.rpc.UnaryCallable;
import javax.annotation.Generated;
+import javax.annotation.Nullable;
// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
@@ -34,7 +39,8 @@
*/
@Generated("by gapic-generator")
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
-public class HttpJsonHttpsHealthCheckCallableFactory implements HttpJsonStubCallableFactory {
+public class HttpJsonHttpsHealthCheckCallableFactory
+ implements HttpJsonStubCallableFactory {
@Override
public UnaryCallable createUnaryCallable(
HttpJsonCallSettings httpJsonCallSettings,
@@ -44,6 +50,19 @@ public UnaryCallable createUnaryCalla
httpJsonCallSettings, callSettings, clientContext);
}
+ @BetaApi(
+ "The surface for long-running operations is not stable yet and may change in the future.")
+ @Override
+ @Nullable
+ public
+ OperationCallable createOperationCallable(
+ HttpJsonCallSettings httpJsonCallSettings,
+ OperationCallSettings operationCallSettings,
+ ClientContext clientContext,
+ BackgroundResource operationsStub) {
+ return null;
+ }
+
@Override
public
UnaryCallable createPagedCallable(
diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonImageCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonImageCallableFactory.java
index 143b1de15f99..f8baef60e278 100644
--- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonImageCallableFactory.java
+++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonImageCallableFactory.java
@@ -16,15 +16,20 @@
package com.google.cloud.compute.v1.stub;
import com.google.api.core.BetaApi;
+import com.google.api.gax.core.BackgroundResource;
+import com.google.api.gax.httpjson.ApiMessage;
import com.google.api.gax.httpjson.HttpJsonCallSettings;
import com.google.api.gax.httpjson.HttpJsonCallableFactory;
import com.google.api.gax.httpjson.HttpJsonStubCallableFactory;
import com.google.api.gax.rpc.BatchingCallSettings;
import com.google.api.gax.rpc.ClientContext;
+import com.google.api.gax.rpc.OperationCallSettings;
+import com.google.api.gax.rpc.OperationCallable;
import com.google.api.gax.rpc.PagedCallSettings;
import com.google.api.gax.rpc.UnaryCallSettings;
import com.google.api.gax.rpc.UnaryCallable;
import javax.annotation.Generated;
+import javax.annotation.Nullable;
// AUTO-GENERATED DOCUMENTATION AND CLASS
/**
@@ -34,7 +39,8 @@
*/
@Generated("by gapic-generator")
@BetaApi("The surface for use by generated code is not stable yet and may change in the future.")
-public class HttpJsonImageCallableFactory implements HttpJsonStubCallableFactory {
+public class HttpJsonImageCallableFactory
+ implements HttpJsonStubCallableFactory {
@Override
public UnaryCallable createUnaryCallable(
HttpJsonCallSettings httpJsonCallSettings,
@@ -44,6 +50,19 @@ public UnaryCallable createUnaryCalla
httpJsonCallSettings, callSettings, clientContext);
}
+ @BetaApi(
+ "The surface for long-running operations is not stable yet and may change in the future.")
+ @Override
+ @Nullable
+ public
+ OperationCallable createOperationCallable(
+ HttpJsonCallSettings httpJsonCallSettings,
+ OperationCallSettings operationCallSettings,
+ ClientContext clientContext,
+ BackgroundResource operationsStub) {
+ return null;
+ }
+
@Override
public