Interface ContainerPortOrBuilder (0.30.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
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for name.