Interface ContainerPortOrBuilder (0.43.0)

public interface ContainerPortOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContainerPort()

public abstract int getContainerPort()

Port number the container listens on. This must be a valid TCP port number, 0 < container_port < 65536.

int32 container_port = 3;

Returns
Type Description
int

The containerPort.

getName()

public abstract String getName()

If specified, used to specify which protocol to use. Allowed values are "http1" and "h2c".

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

If specified, used to specify which protocol to use. Allowed values are "http1" and "h2c".

string name = 1;

Returns
Type Description
ByteString

The bytes for name.