Package k8s.io.api.core.v1
Interface Generated.LoadBalancerIngressOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.LoadBalancerIngress,Generated.LoadBalancerIngress.Builder
- Enclosing class:
- Generated
public static interface Generated.LoadBalancerIngressOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetHostname()Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers) +optionalcom.google.protobuf.ByteStringgetHostnameBytes()Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers) +optionalStringgetIp()IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers) +optionalcom.google.protobuf.ByteStringgetIpBytes()IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers) +optionalStringgetIpMode()IPMode specifies how the load-balancer IP behaves, and may only be specified when the ip field is specified.com.google.protobuf.ByteStringgetIpModeBytes()IPMode specifies how the load-balancer IP behaves, and may only be specified when the ip field is specified.Generated.PortStatusgetPorts(int index)Ports is a list of records of service ports If used, every port defined in the service should have an entry in it +listType=atomic +optionalintgetPortsCount()Ports is a list of records of service ports If used, every port defined in the service should have an entry in it +listType=atomic +optionalList<Generated.PortStatus>getPortsList()Ports is a list of records of service ports If used, every port defined in the service should have an entry in it +listType=atomic +optionalGenerated.PortStatusOrBuildergetPortsOrBuilder(int index)Ports is a list of records of service ports If used, every port defined in the service should have an entry in it +listType=atomic +optionalList<? extends Generated.PortStatusOrBuilder>getPortsOrBuilderList()Ports is a list of records of service ports If used, every port defined in the service should have an entry in it +listType=atomic +optionalbooleanhasHostname()Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers) +optionalbooleanhasIp()IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers) +optionalbooleanhasIpMode()IPMode specifies how the load-balancer IP behaves, and may only be specified when the ip field is specified.-
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()
IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers) +optional
optional string ip = 1;- Returns:
- Whether the ip field is set.
-
getIp
String getIp()
IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers) +optional
optional string ip = 1;- Returns:
- The ip.
-
getIpBytes
com.google.protobuf.ByteString getIpBytes()
IP is set for load-balancer ingress points that are IP based (typically GCE or OpenStack load-balancers) +optional
optional string ip = 1;- Returns:
- The bytes for ip.
-
hasHostname
boolean hasHostname()
Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers) +optional
optional string hostname = 2;- Returns:
- Whether the hostname field is set.
-
getHostname
String getHostname()
Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers) +optional
optional string hostname = 2;- Returns:
- The hostname.
-
getHostnameBytes
com.google.protobuf.ByteString getHostnameBytes()
Hostname is set for load-balancer ingress points that are DNS based (typically AWS load-balancers) +optional
optional string hostname = 2;- Returns:
- The bytes for hostname.
-
hasIpMode
boolean hasIpMode()
IPMode specifies how the load-balancer IP behaves, and may only be specified when the ip field is specified. Setting this to "VIP" indicates that traffic is delivered to the node with the destination set to the load-balancer's IP and port. Setting this to "Proxy" indicates that traffic is delivered to the node or pod with the destination set to the node's IP and node port or the pod's IP and port. Service implementations may use this information to adjust traffic routing. +optional
optional string ipMode = 3;- Returns:
- Whether the ipMode field is set.
-
getIpMode
String getIpMode()
IPMode specifies how the load-balancer IP behaves, and may only be specified when the ip field is specified. Setting this to "VIP" indicates that traffic is delivered to the node with the destination set to the load-balancer's IP and port. Setting this to "Proxy" indicates that traffic is delivered to the node or pod with the destination set to the node's IP and node port or the pod's IP and port. Service implementations may use this information to adjust traffic routing. +optional
optional string ipMode = 3;- Returns:
- The ipMode.
-
getIpModeBytes
com.google.protobuf.ByteString getIpModeBytes()
IPMode specifies how the load-balancer IP behaves, and may only be specified when the ip field is specified. Setting this to "VIP" indicates that traffic is delivered to the node with the destination set to the load-balancer's IP and port. Setting this to "Proxy" indicates that traffic is delivered to the node or pod with the destination set to the node's IP and node port or the pod's IP and port. Service implementations may use this information to adjust traffic routing. +optional
optional string ipMode = 3;- Returns:
- The bytes for ipMode.
-
getPortsList
List<Generated.PortStatus> getPortsList()
Ports is a list of records of service ports If used, every port defined in the service should have an entry in it +listType=atomic +optional
repeated .k8s.io.api.core.v1.PortStatus ports = 4;
-
getPorts
Generated.PortStatus getPorts(int index)
Ports is a list of records of service ports If used, every port defined in the service should have an entry in it +listType=atomic +optional
repeated .k8s.io.api.core.v1.PortStatus ports = 4;
-
getPortsCount
int getPortsCount()
Ports is a list of records of service ports If used, every port defined in the service should have an entry in it +listType=atomic +optional
repeated .k8s.io.api.core.v1.PortStatus ports = 4;
-
getPortsOrBuilderList
List<? extends Generated.PortStatusOrBuilder> getPortsOrBuilderList()
Ports is a list of records of service ports If used, every port defined in the service should have an entry in it +listType=atomic +optional
repeated .k8s.io.api.core.v1.PortStatus ports = 4;
-
getPortsOrBuilder
Generated.PortStatusOrBuilder getPortsOrBuilder(int index)
Ports is a list of records of service ports If used, every port defined in the service should have an entry in it +listType=atomic +optional
repeated .k8s.io.api.core.v1.PortStatus ports = 4;
-
-