@Override
    public int hashCode() {
        return Objects.hash(remoteLogSegmentId, customMetadata, state, eventTimestampMs(), brokerId());
    }
It represents the state of the remote log segment. It can be one of the values of {@link RemoteLogSegmentState}.
storage/api/src/main/java/org/apache/kafka/server/log/remote/storage/RemoteLogSegmentMetadataUpdate.java