public static final class Descriptors.MethodDescriptor extends Descriptors.GenericDescriptor
| Modifier and Type | Method and Description |
|---|---|
Descriptors |
getFile()
Get the
Descriptors.FileDescriptor containing this descriptor.
|
String |
getFullName()
Get the method's fully-qualified name.
|
int |
getIndex()
Get the index of this descriptor within its parent.
|
Descriptors |
getInputType()
Get the method's input type.
|
String |
getName()
Get the method's unqualified name.
|
DescriptorProtos |
getOptions()
Get the
MethodOptions, defined in
descriptor.proto.
|
Descriptors |
getOutputType()
Get the method's output type.
|
Descriptors |
getService()
Get the method's service type.
|
DescriptorProtos |
toProto()
Convert the descriptor to its protocol message representation.
|
public int getIndex()
public DescriptorProtos.MethodDescriptorProto toProto()
public StringgetName()
public StringgetFullName()
getFullName in class
Descriptors.GenericDescriptor
Descriptors.Descriptor.getFullName()
public Descriptors.FileDescriptor getFile()
Descriptors.FileDescriptor containing this descriptor.
public Descriptors.ServiceDescriptor getService()
public Descriptors.Descriptor getInputType()
public Descriptors.Descriptor getOutputType()
public DescriptorProtos.MethodOptions getOptions()
MethodOptions, defined in
descriptor.proto.