From fe7e11f93e490e8b26867c4700f1bf92025c62dc Mon Sep 17 00:00:00 2001 From: Andrea Lin Date: Mon, 4 Mar 2019 18:31:12 -0800 Subject: [PATCH 1/3] bump gax --- google-cloud-clients/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google-cloud-clients/pom.xml b/google-cloud-clients/pom.xml index 3967b626b2f7..9d3959b81987 100644 --- a/google-cloud-clients/pom.xml +++ b/google-cloud-clients/pom.xml @@ -155,7 +155,7 @@ 0.82.1-alpha-SNAPSHOT 1.27.0 - 1.40.0 + 1.42.0 1.7.0 0.13.0 1.18.0 From db3ba26af76f3448fbdc18655922305b380cc478 Mon Sep 17 00:00:00 2001 From: Andrea Lin Date: Tue, 5 Mar 2019 10:56:38 -0800 Subject: [PATCH 2/3] also update bom --- google-cloud-bom/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From e4b4f57237452751d7cb158227077016fe50bb6f Mon Sep 17 00:00:00 2001 From: Andrea Lin Date: Wed, 6 Mar 2019 12:05:20 -0800 Subject: [PATCH 3/3] add in google-cloud-compute changes --- .../compute/v1/AcceleratorTypeClient.java | 7 +++++-- .../cloud/compute/v1/AddressClient.java | 7 +++++-- .../cloud/compute/v1/AutoscalerClient.java | 7 +++++-- .../cloud/compute/v1/BackendBucketClient.java | 4 +++- .../compute/v1/BackendServiceClient.java | 7 +++++-- .../google/cloud/compute/v1/DiskClient.java | 7 +++++-- .../cloud/compute/v1/DiskTypeClient.java | 7 +++++-- .../cloud/compute/v1/FirewallClient.java | 4 +++- .../compute/v1/ForwardingRuleClient.java | 7 +++++-- .../cloud/compute/v1/GlobalAddressClient.java | 4 +++- .../v1/GlobalForwardingRuleClient.java | 4 +++- .../compute/v1/GlobalOperationClient.java | 7 +++++-- .../cloud/compute/v1/HealthCheckClient.java | 4 +++- .../compute/v1/HttpHealthCheckClient.java | 4 +++- .../compute/v1/HttpsHealthCheckClient.java | 4 +++- .../google/cloud/compute/v1/ImageClient.java | 4 +++- .../cloud/compute/v1/InstanceClient.java | 10 ++++++--- .../cloud/compute/v1/InstanceGroupClient.java | 10 ++++++--- .../v1/InstanceGroupManagerClient.java | 7 +++++-- .../compute/v1/InstanceTemplateClient.java | 4 +++- .../v1/InterconnectAttachmentClient.java | 7 +++++-- .../cloud/compute/v1/InterconnectClient.java | 4 +++- .../v1/InterconnectLocationClient.java | 4 +++- .../cloud/compute/v1/LicenseClient.java | 4 +++- .../cloud/compute/v1/MachineTypeClient.java | 7 +++++-- .../cloud/compute/v1/NetworkClient.java | 4 +++- .../cloud/compute/v1/NodeGroupClient.java | 10 ++++++--- .../cloud/compute/v1/NodeTemplateClient.java | 7 +++++-- .../cloud/compute/v1/NodeTypeClient.java | 7 +++++-- .../cloud/compute/v1/ProjectClient.java | 7 +++++-- .../compute/v1/RegionAutoscalerClient.java | 4 +++- .../v1/RegionBackendServiceClient.java | 4 +++- .../google/cloud/compute/v1/RegionClient.java | 4 +++- .../compute/v1/RegionCommitmentClient.java | 7 +++++-- .../cloud/compute/v1/RegionDiskClient.java | 4 +++- .../compute/v1/RegionDiskTypeClient.java | 4 +++- .../compute/v1/RegionInstanceGroupClient.java | 7 +++++-- .../v1/RegionInstanceGroupManagerClient.java | 4 +++- .../compute/v1/RegionOperationClient.java | 4 +++- .../google/cloud/compute/v1/RouteClient.java | 4 +++- .../google/cloud/compute/v1/RouterClient.java | 10 ++++++--- .../compute/v1/SecurityPolicyClient.java | 4 +++- .../cloud/compute/v1/SnapshotClient.java | 4 +++- .../compute/v1/SslCertificateClient.java | 4 +++- .../cloud/compute/v1/SslPolicyClient.java | 4 +++- .../cloud/compute/v1/SubnetworkClient.java | 10 ++++++--- .../compute/v1/TargetHttpProxyClient.java | 4 +++- .../compute/v1/TargetHttpsProxyClient.java | 4 +++- .../compute/v1/TargetInstanceClient.java | 7 +++++-- .../cloud/compute/v1/TargetPoolClient.java | 7 +++++-- .../compute/v1/TargetSslProxyClient.java | 4 +++- .../compute/v1/TargetTcpProxyClient.java | 4 +++- .../compute/v1/TargetVpnGatewayClient.java | 7 +++++-- .../google/cloud/compute/v1/UrlMapClient.java | 4 +++- .../cloud/compute/v1/VpnTunnelClient.java | 7 +++++-- .../google/cloud/compute/v1/ZoneClient.java | 4 +++- .../cloud/compute/v1/ZoneOperationClient.java | 4 +++- ...ttpJsonAcceleratorTypeCallableFactory.java | 21 ++++++++++++++++++- .../stub/HttpJsonAddressCallableFactory.java | 21 ++++++++++++++++++- .../HttpJsonAutoscalerCallableFactory.java | 21 ++++++++++++++++++- .../HttpJsonBackendBucketCallableFactory.java | 21 ++++++++++++++++++- ...HttpJsonBackendServiceCallableFactory.java | 21 ++++++++++++++++++- .../v1/stub/HttpJsonDiskCallableFactory.java | 21 ++++++++++++++++++- .../stub/HttpJsonDiskTypeCallableFactory.java | 21 ++++++++++++++++++- .../stub/HttpJsonFirewallCallableFactory.java | 21 ++++++++++++++++++- ...HttpJsonForwardingRuleCallableFactory.java | 21 ++++++++++++++++++- .../HttpJsonGlobalAddressCallableFactory.java | 21 ++++++++++++++++++- ...onGlobalForwardingRuleCallableFactory.java | 21 ++++++++++++++++++- ...ttpJsonGlobalOperationCallableFactory.java | 21 ++++++++++++++++++- .../HttpJsonHealthCheckCallableFactory.java | 21 ++++++++++++++++++- ...ttpJsonHttpHealthCheckCallableFactory.java | 21 ++++++++++++++++++- ...tpJsonHttpsHealthCheckCallableFactory.java | 21 ++++++++++++++++++- .../v1/stub/HttpJsonImageCallableFactory.java | 21 ++++++++++++++++++- .../stub/HttpJsonInstanceCallableFactory.java | 21 ++++++++++++++++++- .../HttpJsonInstanceGroupCallableFactory.java | 21 ++++++++++++++++++- ...onInstanceGroupManagerCallableFactory.java | 21 ++++++++++++++++++- ...tpJsonInstanceTemplateCallableFactory.java | 21 ++++++++++++++++++- ...InterconnectAttachmentCallableFactory.java | 21 ++++++++++++++++++- .../HttpJsonInterconnectCallableFactory.java | 21 ++++++++++++++++++- ...onInterconnectLocationCallableFactory.java | 21 ++++++++++++++++++- .../stub/HttpJsonLicenseCallableFactory.java | 21 ++++++++++++++++++- .../HttpJsonLicenseCodeCallableFactory.java | 21 ++++++++++++++++++- .../HttpJsonMachineTypeCallableFactory.java | 21 ++++++++++++++++++- .../stub/HttpJsonNetworkCallableFactory.java | 21 ++++++++++++++++++- .../HttpJsonNodeGroupCallableFactory.java | 21 ++++++++++++++++++- .../HttpJsonNodeTemplateCallableFactory.java | 21 ++++++++++++++++++- .../stub/HttpJsonNodeTypeCallableFactory.java | 21 ++++++++++++++++++- .../stub/HttpJsonProjectCallableFactory.java | 21 ++++++++++++++++++- ...tpJsonRegionAutoscalerCallableFactory.java | 21 ++++++++++++++++++- ...onRegionBackendServiceCallableFactory.java | 21 ++++++++++++++++++- .../stub/HttpJsonRegionCallableFactory.java | 21 ++++++++++++++++++- ...tpJsonRegionCommitmentCallableFactory.java | 21 ++++++++++++++++++- .../HttpJsonRegionDiskCallableFactory.java | 21 ++++++++++++++++++- ...HttpJsonRegionDiskTypeCallableFactory.java | 21 ++++++++++++++++++- ...sonRegionInstanceGroupCallableFactory.java | 21 ++++++++++++++++++- ...onInstanceGroupManagerCallableFactory.java | 20 +++++++++++++++++- ...ttpJsonRegionOperationCallableFactory.java | 21 ++++++++++++++++++- .../v1/stub/HttpJsonRouteCallableFactory.java | 21 ++++++++++++++++++- .../stub/HttpJsonRouterCallableFactory.java | 21 ++++++++++++++++++- ...HttpJsonSecurityPolicyCallableFactory.java | 21 ++++++++++++++++++- .../stub/HttpJsonSnapshotCallableFactory.java | 21 ++++++++++++++++++- ...HttpJsonSslCertificateCallableFactory.java | 21 ++++++++++++++++++- .../HttpJsonSslPolicyCallableFactory.java | 21 ++++++++++++++++++- .../HttpJsonSubnetworkCallableFactory.java | 21 ++++++++++++++++++- ...ttpJsonTargetHttpProxyCallableFactory.java | 21 ++++++++++++++++++- ...tpJsonTargetHttpsProxyCallableFactory.java | 21 ++++++++++++++++++- ...HttpJsonTargetInstanceCallableFactory.java | 21 ++++++++++++++++++- .../HttpJsonTargetPoolCallableFactory.java | 21 ++++++++++++++++++- ...HttpJsonTargetSslProxyCallableFactory.java | 21 ++++++++++++++++++- ...HttpJsonTargetTcpProxyCallableFactory.java | 21 ++++++++++++++++++- ...tpJsonTargetVpnGatewayCallableFactory.java | 21 ++++++++++++++++++- .../stub/HttpJsonUrlMapCallableFactory.java | 21 ++++++++++++++++++- .../HttpJsonVpnTunnelCallableFactory.java | 21 ++++++++++++++++++- .../v1/stub/HttpJsonZoneCallableFactory.java | 21 ++++++++++++++++++- .../HttpJsonZoneOperationCallableFactory.java | 21 ++++++++++++++++++- 115 files changed, 1390 insertions(+), 145 deletions(-) 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 UnaryCallable createPagedCallable( diff --git a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceCallableFactory.java index 1c68f61d2dbf..a59ea1934264 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceCallableFactory.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 HttpJsonInstanceCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonInstanceCallableFactory + 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/HttpJsonInstanceGroupCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceGroupCallableFactory.java index 8247b0fa6708..864f75e34fda 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceGroupCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceGroupCallableFactory.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 HttpJsonInstanceGroupCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonInstanceGroupCallableFactory + 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/HttpJsonInstanceGroupManagerCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceGroupManagerCallableFactory.java index 5f26d7a7eeee..b61e47b305cd 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceGroupManagerCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceGroupManagerCallableFactory.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 HttpJsonInstanceGroupManagerCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonInstanceGroupManagerCallableFactory + 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/HttpJsonInstanceTemplateCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceTemplateCallableFactory.java index eb1d219984ed..07a19b9e4cd9 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceTemplateCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInstanceTemplateCallableFactory.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 HttpJsonInstanceTemplateCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonInstanceTemplateCallableFactory + 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/HttpJsonInterconnectAttachmentCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInterconnectAttachmentCallableFactory.java index 5e7ed80b7b6b..9545ec87c2d5 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInterconnectAttachmentCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInterconnectAttachmentCallableFactory.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 HttpJsonInterconnectAttachmentCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonInterconnectAttachmentCallableFactory + 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/HttpJsonInterconnectCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInterconnectCallableFactory.java index 005b9bc35e25..3fb417c83781 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInterconnectCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInterconnectCallableFactory.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 HttpJsonInterconnectCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonInterconnectCallableFactory + 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/HttpJsonInterconnectLocationCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInterconnectLocationCallableFactory.java index 8b8bdc9a3f46..1394eac5655e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInterconnectLocationCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonInterconnectLocationCallableFactory.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 HttpJsonInterconnectLocationCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonInterconnectLocationCallableFactory + 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/HttpJsonLicenseCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonLicenseCallableFactory.java index 347d5fbe9dcd..3c890899a129 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonLicenseCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonLicenseCallableFactory.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 HttpJsonLicenseCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonLicenseCallableFactory + 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/HttpJsonLicenseCodeCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonLicenseCodeCallableFactory.java index 851adb6dc07e..30de47489d83 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonLicenseCodeCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonLicenseCodeCallableFactory.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 HttpJsonLicenseCodeCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonLicenseCodeCallableFactory + 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/HttpJsonMachineTypeCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonMachineTypeCallableFactory.java index cdbb974f6936..897b97adc8cc 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonMachineTypeCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonMachineTypeCallableFactory.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 HttpJsonMachineTypeCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonMachineTypeCallableFactory + 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/HttpJsonNetworkCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNetworkCallableFactory.java index bf5a46c9941c..1f5fe4bf98f7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNetworkCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNetworkCallableFactory.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 HttpJsonNetworkCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonNetworkCallableFactory + 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/HttpJsonNodeGroupCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNodeGroupCallableFactory.java index f13957c45b0c..d8946e66a975 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNodeGroupCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNodeGroupCallableFactory.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 HttpJsonNodeGroupCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonNodeGroupCallableFactory + 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/HttpJsonNodeTemplateCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNodeTemplateCallableFactory.java index d1945ac2207a..e5d6d2a0884c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNodeTemplateCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNodeTemplateCallableFactory.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 HttpJsonNodeTemplateCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonNodeTemplateCallableFactory + 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/HttpJsonNodeTypeCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNodeTypeCallableFactory.java index 3507770f5f95..b8f685ab0013 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNodeTypeCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonNodeTypeCallableFactory.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 HttpJsonNodeTypeCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonNodeTypeCallableFactory + 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/HttpJsonProjectCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonProjectCallableFactory.java index 8c4f2a3843ca..0d3ebde705c0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonProjectCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonProjectCallableFactory.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 HttpJsonProjectCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonProjectCallableFactory + 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/HttpJsonRegionAutoscalerCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionAutoscalerCallableFactory.java index 028dd7ee0d48..f73b33598c64 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionAutoscalerCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionAutoscalerCallableFactory.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 HttpJsonRegionAutoscalerCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonRegionAutoscalerCallableFactory + 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/HttpJsonRegionBackendServiceCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionBackendServiceCallableFactory.java index 33b0dbe1575f..04d79459aaf7 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionBackendServiceCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionBackendServiceCallableFactory.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 HttpJsonRegionBackendServiceCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonRegionBackendServiceCallableFactory + 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/HttpJsonRegionCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionCallableFactory.java index a4f59c2af3b7..73b001b3215a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionCallableFactory.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 HttpJsonRegionCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonRegionCallableFactory + 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/HttpJsonRegionCommitmentCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionCommitmentCallableFactory.java index ee7033a26498..c70f05d13e86 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionCommitmentCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionCommitmentCallableFactory.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 HttpJsonRegionCommitmentCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonRegionCommitmentCallableFactory + 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/HttpJsonRegionDiskCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionDiskCallableFactory.java index 75d069e610d5..9ed53ea317d6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionDiskCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionDiskCallableFactory.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 HttpJsonRegionDiskCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonRegionDiskCallableFactory + 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/HttpJsonRegionDiskTypeCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionDiskTypeCallableFactory.java index 19cac958665a..a95441d65604 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionDiskTypeCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionDiskTypeCallableFactory.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 HttpJsonRegionDiskTypeCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonRegionDiskTypeCallableFactory + 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/HttpJsonRegionInstanceGroupCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionInstanceGroupCallableFactory.java index f6cf1a937e52..112b2f5b8e8b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionInstanceGroupCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionInstanceGroupCallableFactory.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 HttpJsonRegionInstanceGroupCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonRegionInstanceGroupCallableFactory + 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/HttpJsonRegionInstanceGroupManagerCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionInstanceGroupManagerCallableFactory.java index 1d3cc2486d7a..b3adc6252d9b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionInstanceGroupManagerCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionInstanceGroupManagerCallableFactory.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 /** @@ -35,7 +40,7 @@ @Generated("by gapic-generator") @BetaApi("The surface for use by generated code is not stable yet and may change in the future.") public class HttpJsonRegionInstanceGroupManagerCallableFactory - implements HttpJsonStubCallableFactory { + implements HttpJsonStubCallableFactory { @Override public UnaryCallable createUnaryCallable( HttpJsonCallSettings httpJsonCallSettings, @@ -45,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/HttpJsonRegionOperationCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionOperationCallableFactory.java index 25091b74575e..4ce5e25e717a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionOperationCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRegionOperationCallableFactory.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 HttpJsonRegionOperationCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonRegionOperationCallableFactory + 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/HttpJsonRouteCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRouteCallableFactory.java index e8fa8bdb5b38..95846a446f9e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRouteCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRouteCallableFactory.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 HttpJsonRouteCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonRouteCallableFactory + 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/HttpJsonRouterCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRouterCallableFactory.java index b875a6777070..8e69f6072dcc 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRouterCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonRouterCallableFactory.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 HttpJsonRouterCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonRouterCallableFactory + 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/HttpJsonSecurityPolicyCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSecurityPolicyCallableFactory.java index 4a93225f5329..7066307b1f2c 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSecurityPolicyCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSecurityPolicyCallableFactory.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 HttpJsonSecurityPolicyCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonSecurityPolicyCallableFactory + 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/HttpJsonSnapshotCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSnapshotCallableFactory.java index 29e105d62789..700253685d7a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSnapshotCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSnapshotCallableFactory.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 HttpJsonSnapshotCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonSnapshotCallableFactory + 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/HttpJsonSslCertificateCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSslCertificateCallableFactory.java index 9adb16e4921e..0c367b78661a 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSslCertificateCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSslCertificateCallableFactory.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 HttpJsonSslCertificateCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonSslCertificateCallableFactory + 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/HttpJsonSslPolicyCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSslPolicyCallableFactory.java index 06b68d1c85a4..f5175868e82b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSslPolicyCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSslPolicyCallableFactory.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 HttpJsonSslPolicyCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonSslPolicyCallableFactory + 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/HttpJsonSubnetworkCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSubnetworkCallableFactory.java index 47d2c1a62a63..643e2bcff8f0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSubnetworkCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonSubnetworkCallableFactory.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 HttpJsonSubnetworkCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonSubnetworkCallableFactory + 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/HttpJsonTargetHttpProxyCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetHttpProxyCallableFactory.java index 7f5fae37970a..ae4862926f54 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetHttpProxyCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetHttpProxyCallableFactory.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 HttpJsonTargetHttpProxyCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonTargetHttpProxyCallableFactory + 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/HttpJsonTargetHttpsProxyCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetHttpsProxyCallableFactory.java index d1901422ed86..4a028acf63c8 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetHttpsProxyCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetHttpsProxyCallableFactory.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 HttpJsonTargetHttpsProxyCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonTargetHttpsProxyCallableFactory + 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/HttpJsonTargetInstanceCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetInstanceCallableFactory.java index f7edec6f9894..cdd0ad3c9e44 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetInstanceCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetInstanceCallableFactory.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 HttpJsonTargetInstanceCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonTargetInstanceCallableFactory + 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/HttpJsonTargetPoolCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetPoolCallableFactory.java index 5b81d1ea2886..39c92bca567b 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetPoolCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetPoolCallableFactory.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 HttpJsonTargetPoolCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonTargetPoolCallableFactory + 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/HttpJsonTargetSslProxyCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetSslProxyCallableFactory.java index e666655bc1c2..7491dbc57699 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetSslProxyCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetSslProxyCallableFactory.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 HttpJsonTargetSslProxyCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonTargetSslProxyCallableFactory + 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/HttpJsonTargetTcpProxyCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetTcpProxyCallableFactory.java index f355beddcac3..025777a374d6 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetTcpProxyCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetTcpProxyCallableFactory.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 HttpJsonTargetTcpProxyCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonTargetTcpProxyCallableFactory + 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/HttpJsonTargetVpnGatewayCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetVpnGatewayCallableFactory.java index 46b4a202bd21..fe958f26965e 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetVpnGatewayCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonTargetVpnGatewayCallableFactory.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 HttpJsonTargetVpnGatewayCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonTargetVpnGatewayCallableFactory + 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/HttpJsonUrlMapCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonUrlMapCallableFactory.java index ab9bd4cbe8e9..2e8c7786f272 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonUrlMapCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonUrlMapCallableFactory.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 HttpJsonUrlMapCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonUrlMapCallableFactory + 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/HttpJsonVpnTunnelCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonVpnTunnelCallableFactory.java index 96616805bbbe..d712045a1ef1 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonVpnTunnelCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonVpnTunnelCallableFactory.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 HttpJsonVpnTunnelCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonVpnTunnelCallableFactory + 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/HttpJsonZoneCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonZoneCallableFactory.java index c48aee25f81c..d57975767bd0 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonZoneCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonZoneCallableFactory.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 HttpJsonZoneCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonZoneCallableFactory + 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/HttpJsonZoneOperationCallableFactory.java b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonZoneOperationCallableFactory.java index 572e3f39edba..193fa554eff2 100644 --- a/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonZoneOperationCallableFactory.java +++ b/google-cloud-clients/google-cloud-compute/src/main/java/com/google/cloud/compute/v1/stub/HttpJsonZoneOperationCallableFactory.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 HttpJsonZoneOperationCallableFactory implements HttpJsonStubCallableFactory { +public class HttpJsonZoneOperationCallableFactory + 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(