Package io.kubernetes.client.proto
Interface V1.EndpointAddressOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
V1.EndpointAddress,V1.EndpointAddress.Builder
- Enclosing class:
- V1
public static interface V1.EndpointAddressOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe Hostname of this endpoint +optionalcom.google.protobuf.ByteStringThe Hostname of this endpoint +optionalgetIp()The IP of this endpoint.com.google.protobuf.ByteStringThe IP of this endpoint.Optional: Node hosting this endpoint.com.google.protobuf.ByteStringOptional: Node hosting this endpoint.Reference to object providing the endpoint.Reference to object providing the endpoint.booleanThe Hostname of this endpoint +optionalbooleanhasIp()The IP of this endpoint.booleanOptional: Node hosting this endpoint.booleanReference to object providing the endpoint.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasIp
boolean hasIp()The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready. TODO: This should allow hostname or IP, See #4447.
optional string ip = 1; -
getIp
String getIp()The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready. TODO: This should allow hostname or IP, See #4447.
optional string ip = 1; -
getIpBytes
com.google.protobuf.ByteString getIpBytes()The IP of this endpoint. May not be loopback (127.0.0.0/8), link-local (169.254.0.0/16), or link-local multicast ((224.0.0.0/24). IPv6 is also accepted but not fully supported on all platforms. Also, certain kubernetes components, like kube-proxy, are not IPv6 ready. TODO: This should allow hostname or IP, See #4447.
optional string ip = 1; -
hasHostname
boolean hasHostname()The Hostname of this endpoint +optional
optional string hostname = 3; -
getHostname
String getHostname()The Hostname of this endpoint +optional
optional string hostname = 3; -
getHostnameBytes
com.google.protobuf.ByteString getHostnameBytes()The Hostname of this endpoint +optional
optional string hostname = 3; -
hasNodeName
boolean hasNodeName()Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node. +optional
optional string nodeName = 4; -
getNodeName
String getNodeName()Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node. +optional
optional string nodeName = 4; -
getNodeNameBytes
com.google.protobuf.ByteString getNodeNameBytes()Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node. +optional
optional string nodeName = 4; -
hasTargetRef
boolean hasTargetRef()Reference to object providing the endpoint. +optional
optional .k8s.io.api.core.v1.ObjectReference targetRef = 2; -
getTargetRef
V1.ObjectReference getTargetRef()Reference to object providing the endpoint. +optional
optional .k8s.io.api.core.v1.ObjectReference targetRef = 2; -
getTargetRefOrBuilder
V1.ObjectReferenceOrBuilder getTargetRefOrBuilder()Reference to object providing the endpoint. +optional
optional .k8s.io.api.core.v1.ObjectReference targetRef = 2;
-