Class RpcMethodSchema
RpcServiceRegistry.
Startup-time method metadata used by RpcServiceRegistry.
Класс существует только для validation, reporting и schema-like анализа до старта нагрузки. В hot path транспорта он не участвует.
This class exists purely for validation, reporting, and schema-like analysis before a service starts accepting load. It does not participate in the transport hot path.
-
Method Summary
Modifier and TypeMethodDescriptionВозвращает optional human-readable описание метода.RpcMethod<?, ?> method()Возвращает underlying typed RPC method descriptor.name()Возвращает логическое имя метода в registry.intВозвращает request message type id.Возвращает имя Java-типа запроса, если оно было передано в registry.intВозвращает response message type id.Возвращает имя Java-типа ответа, если оно было передано в registry.version()Возвращает optional logical version метода.
-
Method Details
-
name
Возвращает логическое имя метода в registry.Returns the logical method name used in the registry.
- Returns:
- logical method name
-
method
Возвращает underlying typed RPC method descriptor.Returns the underlying typed RPC method definition.
- Returns:
- underlying method descriptor
-
requestMessageTypeId
public int requestMessageTypeId()Возвращает request message type id.Returns the request message type id.
- Returns:
- request message type id
-
responseMessageTypeId
public int responseMessageTypeId()Возвращает response message type id.Returns the response message type id.
- Returns:
- response message type id
-
requestTypeName
Возвращает имя Java-типа запроса, если оно было передано в registry.Returns the request Java type name when supplied to the registry.
- Returns:
- request Java type name
-
responseTypeName
Возвращает имя Java-типа ответа, если оно было передано в registry.Returns the response Java type name when supplied to the registry.
- Returns:
- response Java type name
-
version
Возвращает optional logical version метода.Returns the optional logical method version.
- Returns:
- logical method version or
null
-
description
Возвращает optional human-readable описание метода.Returns the optional human-readable method description.
- Returns:
- method description or
null
-