Package io.helidon.grpc.client
Class GrpcServiceClient.Builder
- java.lang.Object
-
- io.helidon.grpc.client.GrpcServiceClient.Builder
-
- Enclosing class:
- GrpcServiceClient
public static class GrpcServiceClient.Builder extends Object
Builder to build an instance ofGrpcServiceClient.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GrpcServiceClientbuild()Build an instance ofGrpcServiceClient.GrpcServiceClient.BuildercallOptions(io.grpc.CallOptions callOptions)Set theCallOptionsto use.
-
-
-
Method Detail
-
callOptions
public GrpcServiceClient.Builder callOptions(io.grpc.CallOptions callOptions)
Set theCallOptionsto use.- Parameters:
callOptions- theCallOptionsto use- Returns:
- This
GrpcServiceClient.Builderfor fluent method chaining
-
build
public GrpcServiceClient build()
Build an instance ofGrpcServiceClient.- Returns:
- an new instance of a
GrpcServiceClient
-
-