Class ListenerTimeout

    • Method Detail

      • grpc

        public final GrpcTimeout grpc()

        An object that represents types of timeouts.

        Returns:
        An object that represents types of timeouts.
      • http

        public final HttpTimeout http()

        An object that represents types of timeouts.

        Returns:
        An object that represents types of timeouts.
      • http2

        public final HttpTimeout http2()

        An object that represents types of timeouts.

        Returns:
        An object that represents types of timeouts.
      • tcp

        public final TcpTimeout tcp()

        An object that represents types of timeouts.

        Returns:
        An object that represents types of timeouts.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)
      • fromGrpc

        public static ListenerTimeout fromGrpc​(GrpcTimeout grpc)
        Create an instance of this class with grpc() initialized to the given value.

        An object that represents types of timeouts.

        Parameters:
        grpc - An object that represents types of timeouts.
      • fromGrpc

        public static ListenerTimeout fromGrpc​(Consumer<GrpcTimeout.Builder> grpc)
        Create an instance of this class with grpc() initialized to the given value.

        An object that represents types of timeouts.

        Parameters:
        grpc - An object that represents types of timeouts.
      • fromHttp

        public static ListenerTimeout fromHttp​(HttpTimeout http)
        Create an instance of this class with http() initialized to the given value.

        An object that represents types of timeouts.

        Parameters:
        http - An object that represents types of timeouts.
      • fromHttp

        public static ListenerTimeout fromHttp​(Consumer<HttpTimeout.Builder> http)
        Create an instance of this class with http() initialized to the given value.

        An object that represents types of timeouts.

        Parameters:
        http - An object that represents types of timeouts.
      • fromHttp2

        public static ListenerTimeout fromHttp2​(HttpTimeout http2)
        Create an instance of this class with http2() initialized to the given value.

        An object that represents types of timeouts.

        Parameters:
        http2 - An object that represents types of timeouts.
      • fromHttp2

        public static ListenerTimeout fromHttp2​(Consumer<HttpTimeout.Builder> http2)
        Create an instance of this class with http2() initialized to the given value.

        An object that represents types of timeouts.

        Parameters:
        http2 - An object that represents types of timeouts.
      • fromTcp

        public static ListenerTimeout fromTcp​(TcpTimeout tcp)
        Create an instance of this class with tcp() initialized to the given value.

        An object that represents types of timeouts.

        Parameters:
        tcp - An object that represents types of timeouts.
      • fromTcp

        public static ListenerTimeout fromTcp​(Consumer<TcpTimeout.Builder> tcp)
        Create an instance of this class with tcp() initialized to the given value.

        An object that represents types of timeouts.

        Parameters:
        tcp - An object that represents types of timeouts.