public static interface V1Networking.NetworkPolicyPortOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
IntStr.IntOrString |
getPort()
The port on the given protocol.
|
IntStr.IntOrStringOrBuilder |
getPortOrBuilder()
The port on the given protocol.
|
String |
getProtocol()
The protocol (TCP, UDP, or SCTP) which traffic must match.
|
com.google.protobuf.ByteString |
getProtocolBytes()
The protocol (TCP, UDP, or SCTP) which traffic must match.
|
boolean |
hasPort()
The port on the given protocol.
|
boolean |
hasProtocol()
The protocol (TCP, UDP, or SCTP) which traffic must match.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasProtocol()
The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP. +optional
optional string protocol = 1;String getProtocol()
The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP. +optional
optional string protocol = 1;com.google.protobuf.ByteString getProtocolBytes()
The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP. +optional
optional string protocol = 1;boolean hasPort()
The port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString port = 2;IntStr.IntOrString getPort()
The port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString port = 2;IntStr.IntOrStringOrBuilder getPortOrBuilder()
The port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString port = 2;Copyright © 2020. All rights reserved.