Package k8s.io.api.core.v1
Interface Generated.EndpointAddressOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.EndpointAddress,Generated.EndpointAddress.Builder
- Enclosing class:
- Generated
public static interface Generated.EndpointAddressOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetHostname()The Hostname of this endpoint +optionalcom.google.protobuf.ByteStringgetHostnameBytes()The Hostname of this endpoint +optionalStringgetIp()The IP of this endpoint.com.google.protobuf.ByteStringgetIpBytes()The IP of this endpoint.StringgetNodeName()Optional: Node hosting this endpoint.com.google.protobuf.ByteStringgetNodeNameBytes()Optional: Node hosting this endpoint.Generated.ObjectReferencegetTargetRef()Reference to object providing the endpoint.Generated.ObjectReferenceOrBuildergetTargetRefOrBuilder()Reference to object providing the endpoint.booleanhasHostname()The Hostname of this endpoint +optionalbooleanhasIp()The IP of this endpoint.booleanhasNodeName()Optional: Node hosting this endpoint.booleanhasTargetRef()Reference to object providing the endpoint.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasIp
boolean hasIp()
The IP of this endpoint. May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10), or link-local multicast (224.0.0.0/24 or ff02::/16).
optional string ip = 1;- Returns:
- Whether the ip field is set.
-
getIp
String getIp()
The IP of this endpoint. May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10), or link-local multicast (224.0.0.0/24 or ff02::/16).
optional string ip = 1;- Returns:
- The ip.
-
getIpBytes
com.google.protobuf.ByteString getIpBytes()
The IP of this endpoint. May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10), or link-local multicast (224.0.0.0/24 or ff02::/16).
optional string ip = 1;- Returns:
- The bytes for ip.
-
hasHostname
boolean hasHostname()
The Hostname of this endpoint +optional
optional string hostname = 3;- Returns:
- Whether the hostname field is set.
-
getHostname
String getHostname()
The Hostname of this endpoint +optional
optional string hostname = 3;- Returns:
- The hostname.
-
getHostnameBytes
com.google.protobuf.ByteString getHostnameBytes()
The Hostname of this endpoint +optional
optional string hostname = 3;- Returns:
- The bytes for hostname.
-
hasNodeName
boolean hasNodeName()
Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node. +optional
optional string nodeName = 4;- Returns:
- Whether the nodeName field is set.
-
getNodeName
String getNodeName()
Optional: Node hosting this endpoint. This can be used to determine endpoints local to a node. +optional
optional string nodeName = 4;- Returns:
- The nodeName.
-
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;- Returns:
- The bytes for nodeName.
-
hasTargetRef
boolean hasTargetRef()
Reference to object providing the endpoint. +optional
optional .k8s.io.api.core.v1.ObjectReference targetRef = 2;- Returns:
- Whether the targetRef field is set.
-
getTargetRef
Generated.ObjectReference getTargetRef()
Reference to object providing the endpoint. +optional
optional .k8s.io.api.core.v1.ObjectReference targetRef = 2;- Returns:
- The targetRef.
-
getTargetRefOrBuilder
Generated.ObjectReferenceOrBuilder getTargetRefOrBuilder()
Reference to object providing the endpoint. +optional
optional .k8s.io.api.core.v1.ObjectReference targetRef = 2;
-
-