Interface GrpcChannelDescriptor

All Superinterfaces:
Prototype.Api
All Known Implementing Classes:
GrpcChannelDescriptor.BuilderBase.GrpcChannelDescriptorImpl

public interface GrpcChannelDescriptor extends Prototype.Api
Interface generated from definition. Please add javadoc to the definition interface.
See Also:
  • 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

      static GrpcChannelDescriptor create(Config config)
      Create a new instance from configuration.
      Parameters:
      config - used to configure the new instance
      Returns:
      a new instance configured from configuration
    • create

      static GrpcChannelDescriptor 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

      Optional<String> target()
      The target URI.
      Returns:
      the URI
    • tls

      Optional<Tls> tls()
      TLS configuration for the connection.
      Returns:
      the TLS config