Interface TCPSocketActionOrBuilder (0.54.0)

public interface TCPSocketActionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPort()

public abstract int getPort()

Optional. Port number to access on the container. Must be in the range 1 to

  1. If not specified, defaults to the exposed port of the container, which is the value of container.ports[0].containerPort.

int32 port = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The port.