public List<GatewayEndpoint> getGatewayEndpoints() {
        if (gatewayEndpoints == null) {
          gatewayEndpoints = new ArrayList<>();
        }
        return gatewayEndpoints;
      }
Gets the value of the gatewayEndpoints property.

<p>
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a <CODE>set</CODE> method for the gatewayEndpoints property.

<p>
For example, to add a new item, do as follows:

<pre>
getGatewayEndpoints().add(newItem);
</pre>


<p>
Objects of the following type(s) are allowed in the list
{@link CacheConfig.GatewayHub.Gateway.GatewayEndpoint }

@return the {@link List} of {@link GatewayEndpoint}s.
geode-core/src/main/java/org/apache/geode/cache/configuration/CacheConfig.java