|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.protobuf.Descriptors.ServiceDescriptor
public static final class Descriptors.ServiceDescriptor
Describes a service type.
Method Summary | |
---|---|
Descriptors.MethodDescriptor |
findMethodByName(java.lang.String name)
Find a method by name. |
Descriptors.FileDescriptor |
getFile()
Get the Descriptors.FileDescriptor containing this descriptor. |
java.lang.String |
getFullName()
Get the type's fully-qualified name. |
int |
getIndex()
Get the index of this descriptor within its parent. |
java.util.List<Descriptors.MethodDescriptor> |
getMethods()
Get a list of methods for this service. |
java.lang.String |
getName()
Get the type's unqualified name. |
ServiceOptions |
getOptions()
Get the ServiceOptions , defined in descriptor.proto . |
ServiceDescriptorProto |
toProto()
Convert the descriptor to its protocol message representation. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public int getIndex()
public ServiceDescriptorProto toProto()
public java.lang.String getName()
public java.lang.String getFullName()
Descriptor#getFullName()
public Descriptors.FileDescriptor getFile()
Descriptors.FileDescriptor
containing this descriptor.
public ServiceOptions getOptions()
ServiceOptions
, defined in descriptor.proto
.
public java.util.List<Descriptors.MethodDescriptor> getMethods()
public Descriptors.MethodDescriptor findMethodByName(java.lang.String name)
name
- The unqualified name of the method (e.g. "Foo").
null
if not found.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |