public class ProtoServiceDescriptor extends java.lang.Object
| Type Params | Return Type | Name and description |
|---|---|---|
|
public static ProtoServiceDescriptor |
create(java.lang.String protoDefinitionContent, java.lang.String fullServiceName)Constructs a new ProtoServiceDescriptor for a specified service from the protobuf definition |
|
public static ProtoServiceDescriptor |
create(java.io.InputStream inputStream, java.lang.String fullServiceName)Constructs a new ProtoServiceDescriptor for a specified service from descriptor set (compiled protobuf definition) |
|
public static ProtoServiceDescriptor |
create(byte[] data, java.lang.String fullServiceName)Constructs a new ProtoServiceDescriptor for a specified service from descriptor set (compiled protobuf definition) |
|
public java.util.List<Descriptors.FileDescriptor> |
getFileDescriptors() |
|
public MethodDescriptor |
getMethodDescriptor(java.lang.String methodName) |
|
public ServiceDescriptor |
getServiceDescriptor() |
|
public TypeRegistry |
getTypeRegistry() |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |
Constructs a new ProtoServiceDescriptor for a specified service from the protobuf definition
protoDefinitionContent - the protobuf definition contentfullServiceName - the name of serviceConstructs a new ProtoServiceDescriptor for a specified service from descriptor set (compiled protobuf definition)
inputStream - input stream for definition set (compiled protobuf definition)fullServiceName - the name of serviceConstructs a new ProtoServiceDescriptor for a specified service from descriptor set (compiled protobuf definition)
data - the binary representation of definition set (compiled protobuf definition)fullServiceName - the name of service