public Builder clearSecondaryInstances() {
        if (secondaryInstancesBuilder_ == null) {
          secondaryInstances_ = java.util.Collections.emptyList();
          bitField0_ = (bitField0_ & ~0x00000002);
          onChanged();
        } else {
          secondaryInstancesBuilder_.clear();
        }
        return this;
      }
<pre>
Output only. The list of secondary instances replicating from the primary
instance.
</pre>

<code>
repeated .google.cloud.memorystore.v1.CrossInstanceReplicationConfig.RemoteInstance secondary_instances = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
</code>
java-valkey/proto-google-cloud-valkey-v1/src/main/java/com/google/cloud/memorystore/v1/CrossInstanceReplicationConfig.java