public com.google.protobuf.ProtocolStringList getSourcePortsList() {
    return sourcePorts_;
  }
<pre>
A list of source ports to which the external access rule applies. This
field is only applicable for the UDP or TCP protocol.
Each entry must be either an integer or a range. For example: `["22"]`,
`["80","443"]`, or `["12345-12349"]`. To match all source ports, specify
`["0-65535"]`.
</pre>

<code>repeated string source_ports = 10;</code>

@return A list containing the sourcePorts.
java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/ExternalAccessRule.java