private void buildPartialRepeatedFields(com.google.cloud.memorystore.v1.Instance result) {
      if (discoveryEndpointsBuilder_ == null) {
        if (((bitField0_ & 0x00002000) != 0)) {
          discoveryEndpoints_ = java.util.Collections.unmodifiableList(discoveryEndpoints_);
          bitField0_ = (bitField0_ & ~0x00002000);
        }
        result.discoveryEndpoints_ = discoveryEndpoints_;
      } else {
        result.discoveryEndpoints_ = discoveryEndpointsBuilder_.build();
      }
      if (pscAutoConnectionsBuilder_ == null) {
        if (((bitField0_ & 0x00200000) != 0)) {
          pscAutoConnections_ = java.util.Collections.unmodifiableList(pscAutoConnections_);
          bitField0_ = (bitField0_ & ~0x00200000);
        }
        result.pscAutoConnections_ = pscAutoConnections_;
      } else {
        result.pscAutoConnections_ = pscAutoConnectionsBuilder_.build();
      }
      if (pscAttachmentDetailsBuilder_ == null) {
        if (((bitField0_ & 0x00400000) != 0)) {
          pscAttachmentDetails_ = java.util.Collections.unmodifiableList(pscAttachmentDetails_);
          bitField0_ = (bitField0_ & ~0x00400000);
        }
        result.pscAttachmentDetails_ = pscAttachmentDetails_;
      } else {
        result.pscAttachmentDetails_ = pscAttachmentDetailsBuilder_.build();
      }
      if (endpointsBuilder_ == null) {
        if (((bitField0_ & 0x00800000) != 0)) {
          endpoints_ = java.util.Collections.unmodifiableList(endpoints_);
          bitField0_ = (bitField0_ & ~0x00800000);
        }
        result.endpoints_ = endpoints_;
      } else {
        result.endpoints_ = endpointsBuilder_.build();
      }
    }
<pre>
A Memorystore instance.
</pre>

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