I wound up using `stub.withInterceptors()` in a project to avoid opening a new channel every time I wanted different field masks; I wound up copy-pasting from https://github.com/googlegenomics/utils-java/blob/master/src/main/java/com/google/cloud/genomics/utils/grpc/GenomicsChannel.java#L75. Would be nice to expose the field mask interceptor logic via a public utility as I believe the current library only allows setting up a field mask while also creating a new channel.
I wound up using
stub.withInterceptors()in a project to avoid opening a new channel every time I wanted different field masks; I wound up copy-pasting from https://github.com/googlegenomics/utils-java/blob/master/src/main/java/com/google/cloud/genomics/utils/grpc/GenomicsChannel.java#L75. Would be nice to expose the field mask interceptor logic via a public utility as I believe the current library only allows setting up a field mask while also creating a new channel.