public class Service extends AbstractDescriptor implements Type
name, optionscomments, sourceCodeLocation| Modifier and Type | Method and Description |
|---|---|
void |
addMethod(ServiceMethod method) |
String |
getCanonicalName() |
DescriptorType |
getDescriptorType() |
String |
getFullyQualifiedName() |
ServiceMethod |
getMethod(String name) |
List<ServiceMethod> |
getMethods() |
Proto |
getParent() |
Proto |
getProto() |
void |
setFullyQualifiedName(String fullyQualifiedName) |
void |
setMethods(List<ServiceMethod> methods) |
void |
setProto(Proto proto) |
String |
toString() |
getName, getOptions, setNameaddComment, getCommentLines, getComments, getSourceCodeLocation, setComments, setSourceCodeLocationclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetCommentLines, getComments, getSourceCodeLocationpublic Service(Proto parent)
public DescriptorType getDescriptorType()
getDescriptorType in interface Descriptorpublic Proto getProto()
public void setProto(Proto proto)
public String getFullyQualifiedName()
getFullyQualifiedName in interface Typepublic void setFullyQualifiedName(String fullyQualifiedName)
public List<ServiceMethod> getMethods()
public void setMethods(List<ServiceMethod> methods)
public ServiceMethod getMethod(String name)
public void addMethod(ServiceMethod method)
public String getCanonicalName()
getCanonicalName in interface TypeCopyright © 2015–2017. All rights reserved.