Package k8s.io.api.core.v1
Interface Generated.PodPortForwardOptionsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.PodPortForwardOptions,Generated.PodPortForwardOptions.Builder
- Enclosing class:
- Generated
public static interface Generated.PodPortForwardOptionsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetPorts(int index)List of ports to forward Required when using WebSockets +optional +listType=atomicintgetPortsCount()List of ports to forward Required when using WebSockets +optional +listType=atomicList<Integer>getPortsList()List of ports to forward Required when using WebSockets +optional +listType=atomic-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getPortsList
List<Integer> getPortsList()
List of ports to forward Required when using WebSockets +optional +listType=atomic
repeated int32 ports = 1;- Returns:
- A list containing the ports.
-
getPortsCount
int getPortsCount()
List of ports to forward Required when using WebSockets +optional +listType=atomic
repeated int32 ports = 1;- Returns:
- The count of ports.
-
getPorts
int getPorts(int index)
List of ports to forward Required when using WebSockets +optional +listType=atomic
repeated int32 ports = 1;- Parameters:
index- The index of the element to return.- Returns:
- The ports at the given index.
-
-