public Builder setInstance(java.lang.String value) {
        if (value == null) {
          throw new NullPointerException();
        }
        instance_ = value;
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
<pre>
Optional. The full resource path of the remote instance in
the format: projects/&lt;project&gt;/locations/&lt;region&gt;/instances/&lt;instance-id&gt;
</pre>

<code>
string instance = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
</code>

@param value The instance to set.
@return This builder for chaining.
java-valkey/proto-google-cloud-valkey-v1/src/main/java/com/google/cloud/memorystore/v1/CrossInstanceReplicationConfig.java