@Immutable
public class ServiceMethodDescriptor
extends java.lang.Object
DescriptorProtos.MethodDescriptorProto, which describes a single rpc method in
a service.| Modifier and Type | Class and Description |
|---|---|
static class |
ServiceMethodDescriptor.MethodType
A helper enum to differentiate the types of methods
based on the use of client or server side streaming.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getComment() |
java.util.Optional<com.google.api.HttpRule> |
getHttpRule() |
MessageDescriptor |
getInputMessage() |
java.lang.String |
getName() |
MessageDescriptor |
getOutputMessage() |
com.google.protobuf.DescriptorProtos.MethodDescriptorProto |
getProto() |
ServiceMethodDescriptor.MethodType |
getType() |
@Nonnull public java.lang.String getComment()
@Nonnull public java.lang.String getName()
@Nonnull public ServiceMethodDescriptor.MethodType getType()
@Nonnull public com.google.protobuf.DescriptorProtos.MethodDescriptorProto getProto()
@Nonnull public MessageDescriptor getInputMessage()
@Nonnull public MessageDescriptor getOutputMessage()
@Nonnull public java.util.Optional<com.google.api.HttpRule> getHttpRule()