Package io.quarkus.grpc
Class GrpcClient.Literal
java.lang.Object
jakarta.enterprise.util.AnnotationLiteral<GrpcClient>
io.quarkus.grpc.GrpcClient.Literal
- All Implemented Interfaces:
Annotation
- Enclosing class:
- GrpcClient
public static final class GrpcClient.Literal
extends jakarta.enterprise.util.AnnotationLiteral<GrpcClient>
implements GrpcClient
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class io.quarkus.grpc.GrpcClient
GrpcClient.Literal -
Field Summary
Fields inherited from interface io.quarkus.grpc.GrpcClient
ELEMENT_NAME -
Method Summary
Modifier and TypeMethodDescriptionstatic GrpcClient.LiteralCreates a new instance ofGrpcClient.Literal.value()Methods inherited from class jakarta.enterprise.util.AnnotationLiteral
annotationType, equals, hashCode, toString
-
Method Details
-
of
Creates a new instance ofGrpcClient.Literal.- Parameters:
value- the name of the gRPC service, must not benull, must not beblank- Returns:
- the literal instance.
-
value
- Returns:
- the service name.
-