@InternalApi(value="Exposed for testing") public class SpannerInterceptorProvider extends Object implements com.google.api.gax.grpc.GrpcInterceptorProvider
GapicSpannerRpc
to handle logging and error augmentation by intercepting grpc calls.Modifier and Type | Method and Description |
---|---|
static SpannerInterceptorProvider |
createDefault() |
List<io.grpc.ClientInterceptor> |
getInterceptors() |
SpannerInterceptorProvider |
with(io.grpc.ClientInterceptor clientInterceptor) |
public static SpannerInterceptorProvider createDefault()
public SpannerInterceptorProvider with(io.grpc.ClientInterceptor clientInterceptor)
public List<io.grpc.ClientInterceptor> getInterceptors()
getInterceptors
in interface com.google.api.gax.grpc.GrpcInterceptorProvider
Copyright © 2022 Google LLC. All rights reserved.