Class GrpcProtoDescriptor
java.lang.Object
io.helidon.declarative.codegen.grpc.GrpcProtoDescriptor
Proto descriptor source declared by a declarative gRPC type.
-
Method Summary
Modifier and TypeMethodDescriptionGenerated proto descriptor type, if this is a type source.static GrpcProtoDescriptordescriptorType(TypeName descriptorType) Create a generated proto type descriptor source.booleanisStatic()Whether the proto method is static.method()Method annotated with@Grpc.Proto, if this is a method source.static GrpcProtoDescriptormethod(TypedElementInfo method, boolean isStatic) Create a proto method descriptor source.
-
Method Details
-
method
Create a proto method descriptor source.- Parameters:
method- proto methodisStatic- whether the proto method is static- Returns:
- proto descriptor source
-
descriptorType
Create a generated proto type descriptor source.- Parameters:
descriptorType- generated proto type- Returns:
- proto descriptor source
-
method
Method annotated with@Grpc.Proto, if this is a method source.- Returns:
- proto method
-
isStatic
public boolean isStatic()Whether the proto method is static.- Returns:
- whether the proto method is static
-
descriptorType
-