Package akka.protobuf
Class Descriptors.MethodDescriptor
- java.lang.Object
-
- akka.protobuf.Descriptors.MethodDescriptor
-
- Enclosing class:
- Descriptors
public static final class Descriptors.MethodDescriptor extends java.lang.Object
Describes one method within a service type.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Descriptors.FileDescriptor
getFile()
Get theDescriptors.FileDescriptor
containing this descriptor.java.lang.String
getFullName()
Get the method's fully-qualified name.int
getIndex()
Get the index of this descriptor within its parent.Descriptors.Descriptor
getInputType()
Get the method's input type.java.lang.String
getName()
Get the method's unqualified name.DescriptorProtos.MethodOptions
getOptions()
Get theMethodOptions
, defined indescriptor.proto
.Descriptors.Descriptor
getOutputType()
Get the method's output type.Descriptors.ServiceDescriptor
getService()
Get the method's service type.DescriptorProtos.MethodDescriptorProto
toProto()
Convert the descriptor to its protocol message representation.
-
-
-
Method Detail
-
getIndex
public int getIndex()
Get the index of this descriptor within its parent. * @see Descriptors.Descriptor#getIndex()
-
toProto
public DescriptorProtos.MethodDescriptorProto toProto()
Convert the descriptor to its protocol message representation.
-
getName
public java.lang.String getName()
Get the method's unqualified name.
-
getFullName
public java.lang.String getFullName()
Get the method's fully-qualified name.- See Also:
Descriptors.Descriptor.getFullName()
-
getFile
public Descriptors.FileDescriptor getFile()
Get theDescriptors.FileDescriptor
containing this descriptor.
-
getService
public Descriptors.ServiceDescriptor getService()
Get the method's service type.
-
getInputType
public Descriptors.Descriptor getInputType()
Get the method's input type.
-
getOutputType
public Descriptors.Descriptor getOutputType()
Get the method's output type.
-
getOptions
public DescriptorProtos.MethodOptions getOptions()
Get theMethodOptions
, defined indescriptor.proto
.
-
-