Package io.protostuff.parser
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 io.protostuff.parser.AnnotationContainer
annotations, docs
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) Service.RpcMethod
getExtraOption
(String name) getName()
getO()
getProto()
getRpcMethod
(String name) getStandardOption
(String name) boolean
isNested()
void
putExtraOption
(String key, Object value) void
putStandardOption
(String key, Object value) (package private) void
Methods inherited from class io.protostuff.parser.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:
putStandardOption
in interfaceHasOptions
-
getStandardOption
-
getExtraOptions
-
putExtraOption
- Specified by:
putExtraOption
in interfaceHasOptions
-
getExtraOption
-
getO
-
getOptions
- Specified by:
getOptions
in interfaceHasOptions
-
resolveReferences
void resolveReferences()
-