Package io.kubernetes.client.proto
Interface V1Networking.NetworkPolicyEgressRuleOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
V1Networking.NetworkPolicyEgressRule
,V1Networking.NetworkPolicyEgressRule.Builder
- Enclosing class:
- V1Networking
public static interface V1Networking.NetworkPolicyEgressRuleOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetPorts
(int index) List of destination ports for outgoing traffic.int
List of destination ports for outgoing traffic.List of destination ports for outgoing traffic.getPortsOrBuilder
(int index) List of destination ports for outgoing traffic.List<? extends V1Networking.NetworkPolicyPortOrBuilder>
List of destination ports for outgoing traffic.getTo
(int index) List of destinations for outgoing traffic of pods selected for this rule.int
List of destinations for outgoing traffic of pods selected for this rule.List of destinations for outgoing traffic of pods selected for this rule.getToOrBuilder
(int index) List of destinations for outgoing traffic of pods selected for this rule.List<? extends V1Networking.NetworkPolicyPeerOrBuilder>
List of destinations for outgoing traffic of pods selected for this rule.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
-
getPortsList
List<V1Networking.NetworkPolicyPort> getPortsList()List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list. +optional
repeated .k8s.io.api.networking.v1.NetworkPolicyPort ports = 1;
-
getPorts
List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list. +optional
repeated .k8s.io.api.networking.v1.NetworkPolicyPort ports = 1;
-
getPortsCount
int getPortsCount()List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list. +optional
repeated .k8s.io.api.networking.v1.NetworkPolicyPort ports = 1;
-
getPortsOrBuilderList
List<? extends V1Networking.NetworkPolicyPortOrBuilder> getPortsOrBuilderList()List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list. +optional
repeated .k8s.io.api.networking.v1.NetworkPolicyPort ports = 1;
-
getPortsOrBuilder
List of destination ports for outgoing traffic. Each item in this list is combined using a logical OR. If this field is empty or missing, this rule matches all ports (traffic not restricted by port). If this field is present and contains at least one item, then this rule allows traffic only if the traffic matches at least one port in the list. +optional
repeated .k8s.io.api.networking.v1.NetworkPolicyPort ports = 1;
-
getToList
List<V1Networking.NetworkPolicyPeer> getToList()List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list. +optional
repeated .k8s.io.api.networking.v1.NetworkPolicyPeer to = 2;
-
getTo
List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list. +optional
repeated .k8s.io.api.networking.v1.NetworkPolicyPeer to = 2;
-
getToCount
int getToCount()List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list. +optional
repeated .k8s.io.api.networking.v1.NetworkPolicyPeer to = 2;
-
getToOrBuilderList
List<? extends V1Networking.NetworkPolicyPeerOrBuilder> getToOrBuilderList()List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list. +optional
repeated .k8s.io.api.networking.v1.NetworkPolicyPeer to = 2;
-
getToOrBuilder
List of destinations for outgoing traffic of pods selected for this rule. Items in this list are combined using a logical OR operation. If this field is empty or missing, this rule matches all destinations (traffic not restricted by destination). If this field is present and contains at least one item, this rule allows traffic only if the traffic matches at least one item in the to list. +optional
repeated .k8s.io.api.networking.v1.NetworkPolicyPeer to = 2;
-