private void buildPartial0(
        com.google.cloud.memorystore.v1.CrossInstanceReplicationConfig result) {
      int from_bitField0_ = bitField0_;
      if (((from_bitField0_ & 0x00000001) != 0)) {
        result.instanceRole_ = instanceRole_;
      }
      int to_bitField0_ = 0;
      if (((from_bitField0_ & 0x00000002) != 0)) {
        result.primaryInstance_ =
            primaryInstanceBuilder_ == null ? primaryInstance_ : primaryInstanceBuilder_.build();
        to_bitField0_ |= 0x00000001;
      }
      if (((from_bitField0_ & 0x00000008) != 0)) {
        result.updateTime_ = updateTimeBuilder_ == null ? updateTime_ : updateTimeBuilder_.build();
        to_bitField0_ |= 0x00000002;
      }
      if (((from_bitField0_ & 0x00000010) != 0)) {
        result.membership_ = membershipBuilder_ == null ? membership_ : membershipBuilder_.build();
        to_bitField0_ |= 0x00000004;
      }
      result.bitField0_ |= to_bitField0_;
    }
<pre>
Cross instance replication config.
</pre>

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