Interface Probe.TcpSocketActionOrBuilder (3.59.0)

public static interface Probe.TcpSocketActionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getHost()

public abstract String getHost()

Optional: Host name to connect to, defaults to the model serving container's IP.

string host = 2;

Returns
Type Description
String

The host.

getHostBytes()

public abstract ByteString getHostBytes()

Optional: Host name to connect to, defaults to the model serving container's IP.

string host = 2;

Returns
Type Description
ByteString

The bytes for host.

getPort()

public abstract int getPort()

Number of the port to access on the container. Number must be in the range 1 to 65535.

int32 port = 1;

Returns
Type Description
int

The port.