Package k8s.io.api.core.v1
Interface Generated.TCPSocketActionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.TCPSocketAction,Generated.TCPSocketAction.Builder
- Enclosing class:
- Generated
public static interface Generated.TCPSocketActionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetHost()Optional: Host name to connect to, defaults to the pod IP.com.google.protobuf.ByteStringgetHostBytes()Optional: Host name to connect to, defaults to the pod IP.Generated.IntOrStringgetPort()Number or name of the port to access on the container.Generated.IntOrStringOrBuildergetPortOrBuilder()Number or name of the port to access on the container.booleanhasHost()Optional: Host name to connect to, defaults to the pod IP.booleanhasPort()Number or name of the port to access on the container.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasPort
boolean hasPort()
Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString port = 1;- Returns:
- Whether the port field is set.
-
getPort
Generated.IntOrString getPort()
Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString port = 1;- Returns:
- The port.
-
getPortOrBuilder
Generated.IntOrStringOrBuilder getPortOrBuilder()
Number or name of the port to access on the container. Number must be in the range 1 to 65535. Name must be an IANA_SVC_NAME.
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString port = 1;
-
hasHost
boolean hasHost()
Optional: Host name to connect to, defaults to the pod IP. +optional
optional string host = 2;- Returns:
- Whether the host field is set.
-
getHost
String getHost()
Optional: Host name to connect to, defaults to the pod IP. +optional
optional string host = 2;- Returns:
- The host.
-
getHostBytes
com.google.protobuf.ByteString getHostBytes()
Optional: Host name to connect to, defaults to the pod IP. +optional
optional string host = 2;- Returns:
- The bytes for host.
-
-