public Builder mergeInstance(com.google.cloud.memorystore.v1beta.Instance value) {
      if (instanceBuilder_ == null) {
        if (((bitField0_ & 0x00000004) != 0)
            && instance_ != null
            && instance_ != com.google.cloud.memorystore.v1beta.Instance.getDefaultInstance()) {
          getInstanceBuilder().mergeFrom(value);
        } else {
          instance_ = value;
        }
      } else {
        instanceBuilder_.mergeFrom(value);
      }
      if (instance_ != null) {
        bitField0_ |= 0x00000004;
        onChanged();
      }
      return this;
    }
<pre>
Required. The instance to create.
</pre>

<code>
.google.cloud.memorystore.v1beta.Instance instance = 3 [(.google.api.field_behavior) = REQUIRED];
</code>
java-valkey/proto-google-cloud-valkey-v1beta/src/main/java/com/google/cloud/memorystore/v1beta/CreateInstanceRequest.java