public java.lang.String getTargetEngineVersion() {
          java.lang.Object ref = targetEngineVersion_;
          if (!(ref instanceof java.lang.String)) {
            com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
            java.lang.String s = bs.toStringUtf8();
            targetEngineVersion_ = s;
            return s;
          } else {
            return (java.lang.String) ref;
          }
        }
<pre>
Output only. Target engine version for the instance.
</pre>

<code>
optional string target_engine_version = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
</code>

@return The targetEngineVersion.
java-valkey/proto-google-cloud-valkey-v1/src/main/java/com/google/cloud/memorystore/v1/Instance.java