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:
  • Method Details

    • of

      public static GrpcClient.Literal of(String value)
      Creates a new instance of GrpcClient.Literal.
      Parameters:
      value - the name of the gRPC service, must not be null, must not be blank
      Returns:
      the literal instance.
    • value

      public String value()
      Returns:
      the service name.