Class ProtoReflectionServiceV1.ServerReflectionIndex

java.lang.Object
io.grpc.protobuf.services.ProtoReflectionServiceV1.ServerReflectionIndex
Enclosing class:
ProtoReflectionServiceV1

private static final class ProtoReflectionServiceV1.ServerReflectionIndex extends Object
Indexes the server's services and allows lookups of file descriptors by filename, symbol, type, and extension number.

Internally, this stores separate indices for the immutable and mutable services. When queried, the immutable service index is checked for a matching value. Only if there is no match in the immutable service index are the mutable services checked.