@java.lang.Override
    public Builder clear() {
      super.clear();
      bitField0_ = 0;
      instanceRole_ = 0;
      primaryInstance_ = null;
      if (primaryInstanceBuilder_ != null) {
        primaryInstanceBuilder_.dispose();
        primaryInstanceBuilder_ = null;
      }
      if (secondaryInstancesBuilder_ == null) {
        secondaryInstances_ = java.util.Collections.emptyList();
      } else {
        secondaryInstances_ = null;
        secondaryInstancesBuilder_.clear();
      }
      bitField0_ = (bitField0_ & ~0x00000004);
      updateTime_ = null;
      if (updateTimeBuilder_ != null) {
        updateTimeBuilder_.dispose();
        updateTimeBuilder_ = null;
      }
      membership_ = null;
      if (membershipBuilder_ != null) {
        membershipBuilder_.dispose();
        membershipBuilder_ = null;
      }
      return this;
    }
<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