public static interface V1beta1Extensions.NetworkPolicyPortOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
IntStr.IntOrString |
getPort()
If specified, the port on the given protocol.
|
IntStr.IntOrStringOrBuilder |
getPortOrBuilder()
If specified, the port on the given protocol.
|
String |
getProtocol()
Optional.
|
com.google.protobuf.ByteString |
getProtocolBytes()
Optional.
|
boolean |
hasPort()
If specified, the port on the given protocol.
|
boolean |
hasProtocol()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasProtocol()
Optional. 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()
Optional. 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()
Optional. 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()
If specified, 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. If present, only traffic on the specified protocol AND port will be matched. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString port = 2;IntStr.IntOrString getPort()
If specified, 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. If present, only traffic on the specified protocol AND port will be matched. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString port = 2;IntStr.IntOrStringOrBuilder getPortOrBuilder()
If specified, 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. If present, only traffic on the specified protocol AND port will be matched. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString port = 2;Copyright © 2021. All rights reserved.