Interface TrafficPortSelectorOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
TrafficPortSelector, TrafficPortSelector.Builder

@Generated public interface TrafficPortSelectorOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getPorts(int index)
    Optional.
    com.google.protobuf.ByteString
    getPortsBytes(int index)
    Optional.
    int
    Optional.
    Optional.

    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<String> getPortsList()
       Optional. A list of ports. Can be port numbers or port range
       (example, [80-90] specifies all ports from 80 to 90, including
       80 and 90) or named ports or * to specify all ports. If the
       list is empty, all ports are selected.
       
      repeated string ports = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the ports.
    • getPortsCount

      int getPortsCount()
       Optional. A list of ports. Can be port numbers or port range
       (example, [80-90] specifies all ports from 80 to 90, including
       80 and 90) or named ports or * to specify all ports. If the
       list is empty, all ports are selected.
       
      repeated string ports = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The count of ports.
    • getPorts

      String getPorts(int index)
       Optional. A list of ports. Can be port numbers or port range
       (example, [80-90] specifies all ports from 80 to 90, including
       80 and 90) or named ports or * to specify all ports. If the
       list is empty, all ports are selected.
       
      repeated string ports = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the element to return.
      Returns:
      The ports at the given index.
    • getPortsBytes

      com.google.protobuf.ByteString getPortsBytes(int index)
       Optional. A list of ports. Can be port numbers or port range
       (example, [80-90] specifies all ports from 80 to 90, including
       80 and 90) or named ports or * to specify all ports. If the
       list is empty, all ports are selected.
       
      repeated string ports = 1 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the ports at the given index.