@java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
        return true;
      }
      if (!(obj
          instanceof
          com.google.cloud.memorystore.v1.CrossInstanceReplicationConfig.RemoteInstance)) {
        return super.equals(obj);
      }
      com.google.cloud.memorystore.v1.CrossInstanceReplicationConfig.RemoteInstance other =
          (com.google.cloud.memorystore.v1.CrossInstanceReplicationConfig.RemoteInstance) obj;

      if (!getInstance().equals(other.getInstance())) return false;
      if (!getUid().equals(other.getUid())) return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }
<pre>
Output only. The unique identifier of the remote instance.
</pre>

<code>
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_info) = { ... }
</code>

@return The bytes for uid.
java-valkey/proto-google-cloud-valkey-v1/src/main/java/com/google/cloud/memorystore/v1/CrossInstanceReplicationConfig.java