public Builder mergeFrom(
          com.google.cloud.memorystore.v1.CrossInstanceReplicationConfig.Membership other) {
        if (other
            == com.google.cloud.memorystore.v1.CrossInstanceReplicationConfig.Membership
                .getDefaultInstance()) return this;
        if (other.hasPrimaryInstance()) {
          mergePrimaryInstance(other.getPrimaryInstance());
        }
        if (secondaryInstancesBuilder_ == null) {
          if (!other.secondaryInstances_.isEmpty()) {
            if (secondaryInstances_.isEmpty()) {
              secondaryInstances_ = other.secondaryInstances_;
              bitField0_ = (bitField0_ & ~0x00000002);
            } else {
              ensureSecondaryInstancesIsMutable();
              secondaryInstances_.addAll(other.secondaryInstances_);
            }
            onChanged();
          }
        } else {
          if (!other.secondaryInstances_.isEmpty()) {
            if (secondaryInstancesBuilder_.isEmpty()) {
              secondaryInstancesBuilder_.dispose();
              secondaryInstancesBuilder_ = null;
              secondaryInstances_ = other.secondaryInstances_;
              bitField0_ = (bitField0_ & ~0x00000002);
              secondaryInstancesBuilder_ =
                  com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
                      ? getSecondaryInstancesFieldBuilder()
                      : null;
            } else {
              secondaryInstancesBuilder_.addAllMessages(other.secondaryInstances_);
            }
          }
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }
<pre>
An output only view of all the member instances participating in the cross
instance replication.
</pre>

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