Package com.google.protobuf
Class Descriptors.MethodDescriptor
java.lang.Object
com.google.protobuf.Descriptors.GenericDescriptor
com.google.protobuf.Descriptors.MethodDescriptor
- Enclosing class:
- Descriptors
Describes one method within a service type.
-
Method Summary
Modifier and TypeMethodDescriptiongetFile()Get theDescriptors.FileDescriptorcontaining this descriptor.Get the method's fully-qualified name.intgetIndex()Get the index of this descriptor within its parent.Get the method's input type.getName()Get the method's unqualified name.Get theMethodOptions, defined indescriptor.proto.Get the method's output type.Get the method's service type.toProto()Convert the descriptor to its protocol message representation.
-
Method Details
-
getIndex
public int getIndex()Get the index of this descriptor within its parent. * @see Descriptors.Descriptor#getIndex() -
toProto
Convert the descriptor to its protocol message representation.- Specified by:
toProtoin classDescriptors.GenericDescriptor
-
getName
Get the method's unqualified name.- Specified by:
getNamein classDescriptors.GenericDescriptor
-
getFullName
Get the method's fully-qualified name.- Specified by:
getFullNamein classDescriptors.GenericDescriptor- See Also:
-
getFile
Get theDescriptors.FileDescriptorcontaining this descriptor.- Specified by:
getFilein classDescriptors.GenericDescriptor
-
getService
Get the method's service type. -
getInputType
Get the method's input type. -
getOutputType
Get the method's output type. -
getOptions
Get theMethodOptions, defined indescriptor.proto.
-