public static interface V1.ContainerPortOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
int |
getContainerPort()
Number of port to expose on the pod's IP address.
|
String |
getHostIP()
What host IP to bind the external port to.
|
com.google.protobuf.ByteString |
getHostIPBytes()
What host IP to bind the external port to.
|
int |
getHostPort()
Number of port to expose on the host.
|
String |
getName()
If specified, this must be an IANA_SVC_NAME and unique within the pod.
|
com.google.protobuf.ByteString |
getNameBytes()
If specified, this must be an IANA_SVC_NAME and unique within the pod.
|
String |
getProtocol()
Protocol for port.
|
com.google.protobuf.ByteString |
getProtocolBytes()
Protocol for port.
|
boolean |
hasContainerPort()
Number of port to expose on the pod's IP address.
|
boolean |
hasHostIP()
What host IP to bind the external port to.
|
boolean |
hasHostPort()
Number of port to expose on the host.
|
boolean |
hasName()
If specified, this must be an IANA_SVC_NAME and unique within the pod.
|
boolean |
hasProtocol()
Protocol for port.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasName()
If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services. +optional
optional string name = 1;String getName()
If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services. +optional
optional string name = 1;com.google.protobuf.ByteString getNameBytes()
If specified, this must be an IANA_SVC_NAME and unique within the pod. Each named port in a pod must have a unique name. Name for the port that can be referred to by services. +optional
optional string name = 1;boolean hasHostPort()
Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this. +optional
optional int32 hostPort = 2;int getHostPort()
Number of port to expose on the host. If specified, this must be a valid port number, 0 < x < 65536. If HostNetwork is specified, this must match ContainerPort. Most containers do not need this. +optional
optional int32 hostPort = 2;boolean hasContainerPort()
Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.
optional int32 containerPort = 3;int getContainerPort()
Number of port to expose on the pod's IP address. This must be a valid port number, 0 < x < 65536.
optional int32 containerPort = 3;boolean hasProtocol()
Protocol for port. Must be UDP, TCP, or SCTP. Defaults to "TCP". +optional +default="TCP"
optional string protocol = 4;String getProtocol()
Protocol for port. Must be UDP, TCP, or SCTP. Defaults to "TCP". +optional +default="TCP"
optional string protocol = 4;com.google.protobuf.ByteString getProtocolBytes()
Protocol for port. Must be UDP, TCP, or SCTP. Defaults to "TCP". +optional +default="TCP"
optional string protocol = 4;boolean hasHostIP()
What host IP to bind the external port to. +optional
optional string hostIP = 5;String getHostIP()
What host IP to bind the external port to. +optional
optional string hostIP = 5;com.google.protobuf.ByteString getHostIPBytes()
What host IP to bind the external port to. +optional
optional string hostIP = 5;Copyright © 2023. All rights reserved.