@java.lang.Override
  public com.google.cloud.memorystore.v1.Instance.InstanceEndpoint getEndpoints(int index) {
    return endpoints_.get(index);
  }
<pre>
Optional. Endpoints for the instance.
</pre>

<code>
repeated .google.cloud.memorystore.v1.Instance.InstanceEndpoint endpoints = 25 [(.google.api.field_behavior) = OPTIONAL];
</code>
java-valkey/proto-google-cloud-valkey-v1/src/main/java/com/google/cloud/memorystore/v1/Instance.java