Package io.kubernetes.client.proto
Interface V1.TCPSocketActionOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
V1.TCPSocketAction
,V1.TCPSocketAction.Builder
- Enclosing class:
- V1
public static interface V1.TCPSocketActionOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetHost()
Optional: Host name to connect to, defaults to the pod IP.com.google.protobuf.ByteString
Optional: Host name to connect to, defaults to the pod IP.getPort()
Number or name of the port to access on the container.Number or name of the port to access on the container.boolean
hasHost()
Optional: Host name to connect to, defaults to the pod IP.boolean
hasPort()
Number or name of the port to access on the container.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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;
-
getPort
IntStr.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;
-
getPortOrBuilder
IntStr.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;
-
getHost
String getHost()Optional: Host name to connect to, defaults to the pod IP. +optional
optional string host = 2;
-
getHostBytes
com.google.protobuf.ByteString getHostBytes()Optional: Host name to connect to, defaults to the pod IP. +optional
optional string host = 2;
-