Interface GrpcChannelDescriptor
- All Superinterfaces:
Prototype.Api
- All Known Implementing Classes:
GrpcChannelDescriptor.BuilderBase.GrpcChannelDescriptorImpl
Interface generated from definition. Please add javadoc to the definition interface.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forGrpcChannelDescriptor.static classGrpcChannelDescriptor.BuilderBase<BUILDER extends GrpcChannelDescriptor.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends GrpcChannelDescriptor> Fluent API builder base forGrpcChannelDescriptor. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Create a new fluent API builder to customize configuration.builder(GrpcChannelDescriptor instance) Create a new fluent API builder from an existing instance.static GrpcChannelDescriptorcreate()Create a new instance with default values.static GrpcChannelDescriptorDeprecated.static GrpcChannelDescriptorCreate a new instance from configuration.host()The host to connect to.name()The name of this channel.intport()The port to connect to.target()The target URI.tls()TLS configuration for the connection.
-
Method Details
-
builder
Create a new fluent API builder to customize configuration.- Returns:
- a new builder
-
builder
Create a new fluent API builder from an existing instance.- Parameters:
instance- an existing instance used as a base for the builder- Returns:
- a builder based on an instance
-
create
Create a new instance from configuration.- Parameters:
config- used to configure the new instance- Returns:
- a new instance configured from configuration
-
create
Deprecated.Create a new instance from configuration.- Parameters:
config- used to configure the new instance- Returns:
- a new instance configured from configuration
-
create
Create a new instance with default values.- Returns:
- a new instance
-
name
String name()The name of this channel.- Returns:
- channel name
-
host
String host()The host to connect to.- Returns:
- the host
-
port
int port()The port to connect to.- Returns:
- the port
-
target
The target URI.- Returns:
- the URI
-
tls
TLS configuration for the connection.- Returns:
- the TLS config
-
create(io.helidon.config.Config)