Interface PortOrBuilder (3.2.0)

public interface PortOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContainerPort()

public abstract int getContainerPort()

The number of the port to expose on the pod's IP address. Must be a valid port number, between 1 and 65535 inclusive.

int32 container_port = 3;

Returns
TypeDescription
int

The containerPort.