private void buildPartialRepeatedFields(com.google.cloud.memorystore.v1beta.Instance result) {
      if (discoveryEndpointsBuilder_ == null) {
        if (((bitField0_ & 0x00000800) != 0)) {
          discoveryEndpoints_ = java.util.Collections.unmodifiableList(discoveryEndpoints_);
          bitField0_ = (bitField0_ & ~0x00000800);
        }
        result.discoveryEndpoints_ = discoveryEndpoints_;
      } else {
        result.discoveryEndpoints_ = discoveryEndpointsBuilder_.build();
      }
      if (pscAutoConnectionsBuilder_ == null) {
        if (((bitField0_ & 0x00080000) != 0)) {
          pscAutoConnections_ = java.util.Collections.unmodifiableList(pscAutoConnections_);
          bitField0_ = (bitField0_ & ~0x00080000);
        }
        result.pscAutoConnections_ = pscAutoConnections_;
      } else {
        result.pscAutoConnections_ = pscAutoConnectionsBuilder_.build();
      }
      if (endpointsBuilder_ == null) {
        if (((bitField0_ & 0x00100000) != 0)) {
          endpoints_ = java.util.Collections.unmodifiableList(endpoints_);
          bitField0_ = (bitField0_ & ~0x00100000);
        }
        result.endpoints_ = endpoints_;
      } else {
        result.endpoints_ = endpointsBuilder_.build();
      }
    }
<pre>
A Memorystore instance.
</pre>

Protobuf type {@code google.cloud.memorystore.v1beta.Instance}
java-valkey/proto-google-cloud-valkey-v1beta/src/main/java/com/google/cloud/memorystore/v1beta/Instance.java