Removing ServiceRpcT parameterization#1759
Removing ServiceRpcT parameterization#1759garrettjonesgoogle merged 14 commits intogoogleapis:masterfrom
Conversation
|
I re-read the issue, but I am still not sure why we need to remove the ServiceRpcT parameterization. As an example, currently |
| */ | ||
|
|
||
| package com.google.cloud.bigquery.spi; | ||
| package com.google.cloud.bigquery.spi.v2; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
@michaelbausor , The Rpc interface (e.g. |
|
Changes Unknown when pulling 2461921 on garrettjonesgoogle:master into ** on GoogleCloudPlatform:master**. |
|
|
||
| /** Factory to create instances of {@code SpannerRpc}. */ | ||
| public interface SpannerRpcFactory extends ServiceRpcFactory<SpannerRpc, SpannerOptions> {} | ||
| public interface SpannerRpcFactory extends ServiceRpcFactory<SpannerOptions> {} No newline at end of file |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| import com.google.cloud.HttpTransportOptions; | ||
| import com.google.cloud.compute.ComputeException; | ||
| import com.google.cloud.compute.ComputeOptions; | ||
| import com.google.cloud.compute.spi.v1.ComputeRpc; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| import static org.mockito.Mockito.verify; | ||
| import static org.mockito.Mockito.when; | ||
|
|
||
| import com.google.cloud.spanner.spi.v1.WatchdogInterceptor; |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
|
|
||
| @Override | ||
| public ComputeRpc create(ComputeOptions options) { | ||
| public ServiceRpc create(ComputeOptions options) { |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
| } | ||
|
|
||
| protected BigQueryRpc getBigQueryRpc() { | ||
| protected BigQueryRpc getBigQueryRpcV2() { |
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
This comment was marked as spam.
This comment was marked as spam.
Sorry, something went wrong.
michaelbausor
left a comment
There was a problem hiding this comment.
LGTM, your choice of what to do about nits.
#1759) Co-authored-by: Cindy Peng <[email protected]>
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
#1759) Co-authored-by: Cindy Peng <[email protected]>
Also:
* Moving spi/*Rpc classes to spi/{MAJOR_VERSION}/*Rpc
* Renaming DefaultRpc classes to HttpRpc/Grpc*Rpc as appropriate
Also:
* Moving spi/*Rpc classes to spi/{MAJOR_VERSION}/*Rpc
* Renaming DefaultRpc classes to HttpRpc/Grpc*Rpc as appropriate
Fixes #1601
Also:
Note: There are references in google-cloud-examples to Rpc-specific stuff (Only Tuples I think); I will file a separate issue to remove those.