Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump gax to 1.42.0 #4624

Merged
merged 3 commits into from
Mar 6, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion google-cloud-bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@
<dependency>
<groupId>com.google.api</groupId>
<artifactId>gax-bom</artifactId>
<version>1.40.0</version>
<version>1.42.0</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -588,7 +589,8 @@ public AggregatedListAcceleratorTypesPagedResponse apply(
AggregatedListAcceleratorTypesPage input) {
return new AggregatedListAcceleratorTypesPagedResponse(input);
}
});
},
MoreExecutors.directExecutor());
}

private AggregatedListAcceleratorTypesPagedResponse(AggregatedListAcceleratorTypesPage page) {
Expand Down Expand Up @@ -684,7 +686,8 @@ public static ApiFuture<ListAcceleratorTypesPagedResponse> createAsync(
public ListAcceleratorTypesPagedResponse apply(ListAcceleratorTypesPage input) {
return new ListAcceleratorTypesPagedResponse(input);
}
});
},
MoreExecutors.directExecutor());
}

private ListAcceleratorTypesPagedResponse(ListAcceleratorTypesPage page) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -782,7 +783,8 @@ public static ApiFuture<AggregatedListAddressesPagedResponse> createAsync(
public AggregatedListAddressesPagedResponse apply(AggregatedListAddressesPage input) {
return new AggregatedListAddressesPagedResponse(input);
}
});
},
MoreExecutors.directExecutor());
}

private AggregatedListAddressesPagedResponse(AggregatedListAddressesPage page) {
Expand Down Expand Up @@ -869,7 +871,8 @@ public static ApiFuture<ListAddressesPagedResponse> createAsync(
public ListAddressesPagedResponse apply(ListAddressesPage input) {
return new ListAddressesPagedResponse(input);
}
});
},
MoreExecutors.directExecutor());
}

private ListAddressesPagedResponse(ListAddressesPage page) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -1096,7 +1097,8 @@ public AggregatedListAutoscalersPagedResponse apply(
AggregatedListAutoscalersPage input) {
return new AggregatedListAutoscalersPagedResponse(input);
}
});
},
MoreExecutors.directExecutor());
}

private AggregatedListAutoscalersPagedResponse(AggregatedListAutoscalersPage page) {
Expand Down Expand Up @@ -1192,7 +1194,8 @@ public static ApiFuture<ListAutoscalersPagedResponse> createAsync(
public ListAutoscalersPagedResponse apply(ListAutoscalersPage input) {
return new ListAutoscalersPagedResponse(input);
}
});
},
MoreExecutors.directExecutor());
}

private ListAutoscalersPagedResponse(ListAutoscalersPage page) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -1157,7 +1158,8 @@ public static ApiFuture<ListBackendBucketsPagedResponse> createAsync(
public ListBackendBucketsPagedResponse apply(ListBackendBucketsPage input) {
return new ListBackendBucketsPagedResponse(input);
}
});
},
MoreExecutors.directExecutor());
}

private ListBackendBucketsPagedResponse(ListBackendBucketsPage page) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -1565,7 +1566,8 @@ public AggregatedListBackendServicesPagedResponse apply(
AggregatedListBackendServicesPage input) {
return new AggregatedListBackendServicesPagedResponse(input);
}
});
},
MoreExecutors.directExecutor());
}

private AggregatedListBackendServicesPagedResponse(AggregatedListBackendServicesPage page) {
Expand Down Expand Up @@ -1661,7 +1663,8 @@ public static ApiFuture<ListBackendServicesPagedResponse> createAsync(
public ListBackendServicesPagedResponse apply(ListBackendServicesPage input) {
return new ListBackendServicesPagedResponse(input);
}
});
},
MoreExecutors.directExecutor());
}

private ListBackendServicesPagedResponse(ListBackendServicesPage page) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -1467,7 +1468,8 @@ public static ApiFuture<AggregatedListDisksPagedResponse> createAsync(
public AggregatedListDisksPagedResponse apply(AggregatedListDisksPage input) {
return new AggregatedListDisksPagedResponse(input);
}
});
},
MoreExecutors.directExecutor());
}

private AggregatedListDisksPagedResponse(AggregatedListDisksPage page) {
Expand Down Expand Up @@ -1547,7 +1549,8 @@ public static ApiFuture<ListDisksPagedResponse> createAsync(
public ListDisksPagedResponse apply(ListDisksPage input) {
return new ListDisksPagedResponse(input);
}
});
},
MoreExecutors.directExecutor());
}

private ListDisksPagedResponse(ListDisksPage page) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -576,7 +577,8 @@ public static ApiFuture<AggregatedListDiskTypesPagedResponse> createAsync(
public AggregatedListDiskTypesPagedResponse apply(AggregatedListDiskTypesPage input) {
return new AggregatedListDiskTypesPagedResponse(input);
}
});
},
MoreExecutors.directExecutor());
}

private AggregatedListDiskTypesPagedResponse(AggregatedListDiskTypesPage page) {
Expand Down Expand Up @@ -663,7 +665,8 @@ public static ApiFuture<ListDiskTypesPagedResponse> createAsync(
public ListDiskTypesPagedResponse apply(ListDiskTypesPage input) {
return new ListDiskTypesPagedResponse(input);
}
});
},
MoreExecutors.directExecutor());
}

private ListDiskTypesPagedResponse(ListDiskTypesPage page) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -905,7 +906,8 @@ public static ApiFuture<ListFirewallsPagedResponse> createAsync(
public ListFirewallsPagedResponse apply(ListFirewallsPage input) {
return new ListFirewallsPagedResponse(input);
}
});
},
MoreExecutors.directExecutor());
}

private ListFirewallsPagedResponse(ListFirewallsPage page) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -926,7 +927,8 @@ public AggregatedListForwardingRulesPagedResponse apply(
AggregatedListForwardingRulesPage input) {
return new AggregatedListForwardingRulesPagedResponse(input);
}
});
},
MoreExecutors.directExecutor());
}

private AggregatedListForwardingRulesPagedResponse(AggregatedListForwardingRulesPage page) {
Expand Down Expand Up @@ -1022,7 +1024,8 @@ public static ApiFuture<ListForwardingRulesPagedResponse> createAsync(
public ListForwardingRulesPagedResponse apply(ListForwardingRulesPage input) {
return new ListForwardingRulesPagedResponse(input);
}
});
},
MoreExecutors.directExecutor());
}

private ListForwardingRulesPagedResponse(ListForwardingRulesPage page) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -653,7 +654,8 @@ public static ApiFuture<ListGlobalAddressesPagedResponse> createAsync(
public ListGlobalAddressesPagedResponse apply(ListGlobalAddressesPage input) {
return new ListGlobalAddressesPagedResponse(input);
}
});
},
MoreExecutors.directExecutor());
}

private ListGlobalAddressesPagedResponse(ListGlobalAddressesPage page) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -792,7 +793,8 @@ public ListGlobalForwardingRulesPagedResponse apply(
ListGlobalForwardingRulesPage input) {
return new ListGlobalForwardingRulesPagedResponse(input);
}
});
},
MoreExecutors.directExecutor());
}

private ListGlobalForwardingRulesPagedResponse(ListGlobalForwardingRulesPage page) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -689,7 +690,8 @@ public AggregatedListGlobalOperationsPagedResponse apply(
AggregatedListGlobalOperationsPage input) {
return new AggregatedListGlobalOperationsPagedResponse(input);
}
});
},
MoreExecutors.directExecutor());
}

private AggregatedListGlobalOperationsPagedResponse(AggregatedListGlobalOperationsPage page) {
Expand Down Expand Up @@ -785,7 +787,8 @@ public static ApiFuture<ListGlobalOperationsPagedResponse> createAsync(
public ListGlobalOperationsPagedResponse apply(ListGlobalOperationsPage input) {
return new ListGlobalOperationsPagedResponse(input);
}
});
},
MoreExecutors.directExecutor());
}

private ListGlobalOperationsPagedResponse(ListGlobalOperationsPage page) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -919,7 +920,8 @@ public static ApiFuture<ListHealthChecksPagedResponse> createAsync(
public ListHealthChecksPagedResponse apply(ListHealthChecksPage input) {
return new ListHealthChecksPagedResponse(input);
}
});
},
MoreExecutors.directExecutor());
}

private ListHealthChecksPagedResponse(ListHealthChecksPage page) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -936,7 +937,8 @@ public static ApiFuture<ListHttpHealthChecksPagedResponse> createAsync(
public ListHttpHealthChecksPagedResponse apply(ListHttpHealthChecksPage input) {
return new ListHttpHealthChecksPagedResponse(input);
}
});
},
MoreExecutors.directExecutor());
}

private ListHttpHealthChecksPagedResponse(ListHttpHealthChecksPage page) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -940,7 +941,8 @@ public static ApiFuture<ListHttpsHealthChecksPagedResponse> createAsync(
public ListHttpsHealthChecksPagedResponse apply(ListHttpsHealthChecksPage input) {
return new ListHttpsHealthChecksPagedResponse(input);
}
});
},
MoreExecutors.directExecutor());
}

private ListHttpsHealthChecksPagedResponse(ListHttpsHealthChecksPage page) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -1321,7 +1322,8 @@ public static ApiFuture<ListImagesPagedResponse> createAsync(
public ListImagesPagedResponse apply(ListImagesPage input) {
return new ListImagesPagedResponse(input);
}
});
},
MoreExecutors.directExecutor());
}

private ListImagesPagedResponse(ListImagesPage page) {
Expand Down
Loading