public Builder setInstance(com.google.cloud.memorystore.v1.Instance.Builder builderForValue) {
      if (instanceBuilder_ == null) {
        instance_ = builderForValue.build();
      } else {
        instanceBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
<pre>
Required. The instance to update.
</pre>

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