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
Modifier and TypeInterfaceDescriptionstatic class
Fluent API builder forGrpcChannelDescriptor
.static class
GrpcChannelDescriptor.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 GrpcChannelDescriptor
create()
Create a new instance with default values.static GrpcChannelDescriptor
Create a new instance from configuration.host()
The host to connect to.name()
The name of this channel.int
port()
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
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
-