public final class SoulGrpcReflectionClient extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static SoulGrpcReflectionClient |
create(io.grpc.Channel channel)
A new reflection client using the supplied channel.
|
String |
fetchFullMethodName(com.google.protobuf.Descriptors.MethodDescriptor methodDescriptor)
Fetch full method name.
|
io.grpc.MethodDescriptor.MethodType |
fetchMethodType(com.google.protobuf.Descriptors.MethodDescriptor methodDescriptor)
Fetch method type.
|
Map<String,com.google.protobuf.DescriptorProtos.FileDescriptorSet> |
getFileDescriptorCache()
Get FileDescriptor cache.
|
com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.DescriptorProtos.FileDescriptorSet> |
lookupService(String serviceName)
Get Grpc service by the remote server.
|
com.google.protobuf.DynamicMessage |
parseToMessages(com.google.protobuf.util.JsonFormat.TypeRegistry registry,
com.google.protobuf.Descriptors.Descriptor descriptor,
String jsons)
Parse message.
|
com.google.protobuf.DescriptorProtos.FileDescriptorSet |
resolveService(String serviceName)
Resolve services.
|
public static SoulGrpcReflectionClient create(io.grpc.Channel channel)
channel - channelpublic com.google.common.util.concurrent.ListenableFuture<com.google.protobuf.DescriptorProtos.FileDescriptorSet> lookupService(String serviceName)
serviceName - serviceNamepublic com.google.protobuf.DescriptorProtos.FileDescriptorSet resolveService(String serviceName)
serviceName - serviceNamepublic String fetchFullMethodName(com.google.protobuf.Descriptors.MethodDescriptor methodDescriptor)
methodDescriptor - methodDescriptorpublic io.grpc.MethodDescriptor.MethodType fetchMethodType(com.google.protobuf.Descriptors.MethodDescriptor methodDescriptor)
methodDescriptor - methodDescriptorpublic com.google.protobuf.DynamicMessage parseToMessages(com.google.protobuf.util.JsonFormat.TypeRegistry registry,
com.google.protobuf.Descriptors.Descriptor descriptor,
String jsons)
registry - registrydescriptor - descriptorjsons - jsonsCopyright © 2021 dromara. All rights reserved.