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

    if (!getName().equals(other.getName())) return false;
    if (hasCreateTime() != other.hasCreateTime()) return false;
    if (hasCreateTime()) {
      if (!getCreateTime().equals(other.getCreateTime())) return false;
    }
    if (!getInstance().equals(other.getInstance())) return false;
    if (!getInstanceUid().equals(other.getInstanceUid())) return false;
    if (getTotalSizeBytes() != other.getTotalSizeBytes()) return false;
    if (hasExpireTime() != other.hasExpireTime()) return false;
    if (hasExpireTime()) {
      if (!getExpireTime().equals(other.getExpireTime())) return false;
    }
    if (!getEngineVersion().equals(other.getEngineVersion())) return false;
    if (!getBackupFilesList().equals(other.getBackupFilesList())) return false;
    if (nodeType_ != other.nodeType_) return false;
    if (getReplicaCount() != other.getReplicaCount()) return false;
    if (getShardCount() != other.getShardCount()) return false;
    if (backupType_ != other.backupType_) return false;
    if (state_ != other.state_) return false;
    if (!getUid().equals(other.getUid())) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Output only. System assigned unique identifier of the backup.
</pre>

<code>
string uid = 15 [(.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/Backup.java