Class Service
java.lang.Object
io.protostuff.parser.AnnotationContainer
io.protostuff.parser.Service
- All Implemented Interfaces:
HasAnnotations, HasName, HasOptions, HasProto
Represents a service defined in the proto (for generating rpc services).
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription(package private) final LinkedHashMap<String, Object> (package private) final String(package private) final Message(package private) final Proto(package private) final LinkedHashMap<String, Service.RpcMethod> (package private) final LinkedHashMap<String, Object> Fields inherited from class AnnotationContainer
annotations, docs -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) Service.RpcMethodgetExtraOption(String name) getName()getO()getProto()getRpcMethod(String name) getStandardOption(String name) booleanisNested()voidputExtraOption(String key, Object value) voidputStandardOption(String key, Object value) (package private) voidMethods inherited from class AnnotationContainer
add, addAnnotations, addDoc, err, getA, getAnnotation, getAnnotationMap, getAnnotations, getDocs, hasAnnotation, isEmptyA
-
Field Details
-
name
-
parentMessage
-
proto
-
rpcMethods
-
standardOptions
-
extraOptions
-
-
Constructor Details
-
Service
-
-
Method Details
-
getName
-
getFullName
-
getJavaFullName
-
getRelativeName
-
getParentMessage
-
isNested
public boolean isNested() -
getProto
-
getRpcMethods
-
getRpcMethodMap
-
getRpcMethod
-
addRpcMethod
-
getStandardOptions
-
putStandardOption
- Specified by:
putStandardOptionin interfaceHasOptions
-
getStandardOption
-
getExtraOptions
-
putExtraOption
- Specified by:
putExtraOptionin interfaceHasOptions
-
getExtraOption
-
getO
-
getOptions
- Specified by:
getOptionsin interfaceHasOptions
-
resolveReferences
void resolveReferences()
-