Package io.quarkus.grpc.deployment
Enum GrpcClientBuildItem.ClientType
- java.lang.Object
-
- java.lang.Enum<GrpcClientBuildItem.ClientType>
-
- io.quarkus.grpc.deployment.GrpcClientBuildItem.ClientType
-
- All Implemented Interfaces:
Serializable,Comparable<GrpcClientBuildItem.ClientType>
- Enclosing class:
- GrpcClientBuildItem
public static enum GrpcClientBuildItem.ClientType extends Enum<GrpcClientBuildItem.ClientType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BLOCKING_STUBMUTINY_CLIENTMUTINY_STUB
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetFactoryMethodName()static GrpcClientBuildItem.ClientTypevalueOf(String name)Returns the enum constant of this type with the specified name.static GrpcClientBuildItem.ClientType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BLOCKING_STUB
public static final GrpcClientBuildItem.ClientType BLOCKING_STUB
-
MUTINY_STUB
public static final GrpcClientBuildItem.ClientType MUTINY_STUB
-
MUTINY_CLIENT
public static final GrpcClientBuildItem.ClientType MUTINY_CLIENT
-
-
Method Detail
-
values
public static GrpcClientBuildItem.ClientType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (GrpcClientBuildItem.ClientType c : GrpcClientBuildItem.ClientType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GrpcClientBuildItem.ClientType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getFactoryMethodName
public String getFactoryMethodName()
-
-