Skip to content

Conversation

@BenWhitehead
Copy link
Collaborator

Provide a default Noop implementation which will only be overridden when a non-noop instance is provided.

Adding a new argument to GrpcStorageOptions was done intentionally such that if/when we need to register our own interceptor we can do so by unioning our provider along with the instance provided to the options. (com.google.api.gax.grpc.InstantiatingGrpcChannelProvider.Builder#setInterceptorProvider will perform an explicit set, overriding any value that might have been previously specified)

@BenWhitehead BenWhitehead added the owlbot:ignore instruct owl-bot to ignore a PR label May 23, 2023
@BenWhitehead BenWhitehead requested a review from a team as a code owner May 23, 2023 21:29
@product-auto-label product-auto-label bot added size: m Pull request size is medium. api: storage Issues related to the googleapis/java-storage API. labels May 23, 2023
@BenWhitehead BenWhitehead merged commit bfe0415 into main May 23, 2023
@BenWhitehead BenWhitehead deleted the grpc/interceptor branch May 23, 2023 23:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api: storage Issues related to the googleapis/java-storage API. owlbot:ignore instruct owl-bot to ignore a PR size: m Pull request size is medium.

2 participants