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

    if (!getName().equals(other.getName())) return false;
    if (hasTtl() != other.hasTtl()) return false;
    if (hasTtl()) {
      if (!getTtl().equals(other.getTtl())) return false;
    }
    if (hasBackupId() != other.hasBackupId()) return false;
    if (hasBackupId()) {
      if (!getBackupId().equals(other.getBackupId())) return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Optional. The id of the backup to be created. If not specified, the
default value ([YYYYMMDDHHMMSS]_[Shortened Instance UID] is used.
</pre>

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

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